myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Remove tags

DELETE

/api/v1/ext/contacts/{id}/tags

Remove one or more tags from a contact.

Auth: Bearer access_token
Scope: contacts.write

Send tags in the JSON body, or as a comma-separated tags query parameter. Tags the contact does not have are ignored.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
The contact id.
tags
body
array<string>
yes
Tag names (or ?tags=a,b).

Responses

StatusWhen
200
OK
401
Missing or invalid token
403
Missing scope
404
Contact does not exist or is not owned by the installer (same response for both)
Request
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}/tags" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "tags": [
    "demo-booked"
  ]
}'
Responses
OK
{
  "success": true,
  "message": "Tags removed",
  "data": {
    "contact_id": 1234,
    "tags": [
      "lead",
      "vip"
    ]
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

The contact id.

Body (JSON)
Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/contacts/%7Bid%7D/tags
Previous

« Add tags

Next

List notes »