Skip to content
NTOMA
Esc
↑↓navigate↵open⌘Jpreview

Update the title of a collection

PATCH/api/collections/{id}
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Header parameters
x-organization-idstring
Target organization id. Defaults to the caller's personal organization when omitted.
Request body
requiredapplication/json
titlestring
descriptionstring
Responses
200OK
any
400Bad Request
any
401Unauthorized
any
404Not Found
any
500Internal Server Error
any
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH "http://localhost:8000/api/collections/string" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Brand Guidelines",
  "description": "Logos, colour tokens and typography."
}'
Response
{
  "id": "CLq4Wm7x1P",
  "title": "Updated Collection Title",
  "userId": "CRa7Bk9x2Q"
}