# Remove tags

> Remove one or more tags from a contact.

Source: https://docs.mycrmsim.com/docs/contacts/remove-contact-tags

```http
DELETE https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}/tags
```

- Category: myCRMSIM Contacts / Contacts
- 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

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | number | yes | The contact id. Example: `1234` |
| `tags` | body | array<string> | yes | Tag names (or ?tags=a,b). Example: `["demo-booked"]` |

## Request body

```json
{
  "tags": [
    "demo-booked"
  ]
}
```

## Response 200

OK

```json
{
  "success": true,
  "message": "Tags removed",
  "data": {
    "contact_id": 1234,
    "tags": [
      "lead",
      "vip"
    ]
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): contacts.write. This integration was granted: …"
}
```

## Response 404

Contact does not exist or is not owned by the installer (same response for both)

```json
{
  "success": false,
  "message": "Contact not found or not accessible to this token"
}
```
