Deletes a campaign tag

DELETE/campaign-tags/{id}

Deletes a campaign tag.

Privileges: campaign-detector.manage

Auditlog Event: campaign.detector.campaign.tag.delete

Errors:

  • CAMPAIGN_DETECTOR_API_CAMPAIGN_TAG_NOT_FOUND - campaign tag not found
  • CAMPAIGN_DETECTOR_API_CAMPAIGN_TAG_NAME_CANNOT_BE_DELETED - campaign tag name cannot be deleted because it is in use
Base URL
https://api-cpaas.sms.es/bulk/campaign-detector/v1
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

idintegerrequired

Campaign Tag ID

Request example

cURL · cURL
curl -L -X DELETE "https://api-cpaas.sms.es/bulk/campaign-detector/v1/campaign-tags/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

Campaign tag deleted

application/json
canBeDeletedstring
Possible values: yes, no
canBeInactivestring

This value is relevant only if the current status of the campaign tag is active

Possible values: yes, no
idinteger
instanceIdinteger
namestring
statusstring
Possible values: active, inactive
statusDtstring (date-time)
typestring
Possible values: system, custom
Example response
{
  "canBeDeleted": "yes",
  "canBeInactive": "yes",
  "id": 0,
  "instanceId": 0,
  "name": "string",
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z",
  "type": "system"
}