Delete a Label
DELETE/accounts/:account_id/labels/:label_id
Delete a label definition from the account.
| Setting | Value |
|---|---|
| Method | DELETE |
| Path | /api/v1/accounts/{account_id}/labels/{label_id} |
| Authorization | User token. Legacy: administrator. New rules: Labels → delete. Not available to agent-bot tokens. |
Example request
curl -X DELETE 'https://online.99digital.co.il/api/v1/accounts/12/labels/15' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>'
Example response: 200 OK with an empty body.
Request
Responses
- 200
- 401
- 403
- 404
The label was deleted, with an empty body.
The access token is missing or wrong, or its user does not belong to this account.
The token's role does not have the permission this endpoint needs, or the endpoint is not open to agent-bot tokens. See Authorization.
The resource does not exist in this account.