Skip to content
campaiDeveloper
campai.com

Misc · Todo · Items

DELETE/{organizationId}/misc/todo/items/{itemId}

Delete todo item

Deletes a todo immediately and queues cleanup of its direct children and dependent data

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • todoItem.remove

Request

Path parameters

  • organizationIdidrequired
  • itemIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request DELETE 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/misc/todo/items/YOUR_ITEM_ID' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.