statuses:write| Parameter | Type | Description |
|---|---|---|
id | integer | Required. The status ID to delete |
status_id). If contacts are found, a RESOURCE_CONFLICT error is returned with the count of affected contacts.message: "Status deleted successfully". The data field is null.| Status | Code | Description |
|---|---|---|
| 404 | NOT_FOUND | Status not found |
| 409 | RESOURCE_CONFLICT | Cannot delete status. It is being used by N contact(s) |
| 500 | INTERNAL_ERROR | Failed to delete status |
curl --location --request DELETE '/statuses/1' \
--header 'Authorization: Bearer <token>'{}