Ricky logorickyDocs

Delete a tag

DELETE
/tags/{tag_id}

Deletes the tag and removes it from every contact, and answers the tag as it was. It cannot be undone.

Scope: tags:write.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An organization API key, rky_live_…, created in Settings → API. Send it only from a server.

tag_id*string

Tag ID.

Formatuuid
Idempotency-Key?string

Optional. A value you choose, unique per logical write, 8–200 characters: a UUID or an ID from your system such as order-10482-ready. Retrying with the same key and body replays the first response instead of repeating the write.

Length8 <= length <= 200

Response Body

Success.

application/json
  1. response
data*

A label applied to contacts.

curl -X DELETE 'https://getricky.ai/api/v1/tags/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Idempotency-Key: order-10482-ready'
{  "data": {    "id": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f",    "name": "Cliente frecuente",    "color": "gray"  }}