---
title: "Update Org Note"
method: PUT
path: "/api/org_notes/{note_id}"
tags: ["Admin"]
---

# Update Org Note

`PUT /api/org_notes/{note_id}`

## Request

- Base URL: `https://app.getdot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.getdot.ai/api/org_notes/{note_id}`
- Auth: one of:
  - API key in header `X-API-KEY`
  - API key in cookie `Authorization`
  - OAuth 2 (password, token URL `/api/auth/token`)

Save a note. A body without ``parent_id`` keeps the note's parent; null moves the note to
the top level. ``base_blob_sha`` is the version the editor opened: a note changed since
is merged with this edit, and an edit that overlaps the change answers 409
``note_edit_conflict``. ``base_active`` is whether it was active then: a save that keeps
that leaves an archive or restore made since in place. Without them the note is written as sent.

## Path parameters

- `note_id` string, required

## Query parameters

- `training_id` string, nullable

## Request body

- NoteSaveBody: A note save from the Model page or the CLI. ``parent_id`` counts only when the body sends it.
  - `title` string, required
  - `note` string, required
  - `groups` string[]
  - `active` boolean
  - `parent_id` string, nullable
  - `concept_id` string, nullable
  - `base_blob_sha` string, nullable
  - `base_active` boolean, nullable
  - `foundational` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
