Delete Tag
Permanent, and only while the tag is unused — 409 lists how many creatives still carry it.
There is no cascade and no restore: a tag that has been used is retired with archived,
which keeps every creative that carries it findable.
DELETE
/api/v1/tags/{slug}Authorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredPath parameters
slugstringrequiredmin length 1 · max length 32
Responses
200Successful Response
successbooleandefault: true
dataanymessagestring | anyShow propertiesHide properties
Any of:
string
stringany
anyerrorsstring[] | anyShow propertiesHide properties
Any of:
string[]
Array of
stringstringany
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobjectRequest
curl -X DELETE "/api/v1/tags/string" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/tags/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.delete(
"/api/v1/tags/string",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": null,
"message": "string",
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}