Context

Rename or move a context folder

Renames the folder when name is provided and moves it when parentId is provided (null moves it to the organization root). Sibling name collisions respond 409 folder_conflict; moving a folder into itself or a descendant responds 422 folder_cycle.

patch/api/v1/context/folders/{id}

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/context/folders/{id}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

idstring required

Request body

namestring
parentIdstring nullable

Pass null to move to the organization root.

Response

The updated folder.

Changes

No recorded changes to this operation across all 1 revision of this API.