Delete a label

Admin only. The label is removed from notes, the notes stay; removed = number of notes it was removed from.

POST/api/v1/notes/labels/{id}/delete

Authorization

Authorizationheaderrequired
Bearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Scope: crm.write

Path parameters

idintegerrequired
Label id.

Errors

HTTPerrorMeaning
403forbiddenYou may not see / edit this record.
404not_foundRecord not found.
Request
curl -X POST https://ornek.solk.app/api/v1/notes/labels/{id}/delete \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response