Skip to main content
PUT
/
hierarchy
/
{id}
Update a folder
curl --request PUT \
  --url https://api.closebot.com/hierarchy/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

id
string
required

The ID of the folder to update.

Body

name
string | null

The new name of the folder

Response

Success