# Remove assignment

Remove a tag from a contact in the registry.

Source: https://statusdashboard.com/docs/api/subscriptions/segments/registry-delete

`DELETE /app/segments/registry/{tagId}/{channel}/{contact}`

Removes one registry assignment. Does not affect dashboard subscriptions.

***

## Path parameters
| Parameter | Type   | Description                                                                                                 |
| --------- | ------ | ----------------------------------------------------------------------------------------------------------- |
| `tagId`   | uuid   | Tag UUID                                                                                                    |
| `channel` | string | `email`, `sms`, or `whatsapp`                                                                               |
| `contact` | string | URL-encoded **normalized** contact from `normalizedContact` (`alice@acme.com` or `%2B14155552671` in E.164) |

***

## Request
See [API Basics](/docs/api) for required headers.

***

## Sample request
```bash
curl -X DELETE "https://api.statusdashboard.com/app/segments/registry/a1b2c3d4-e5f6-7890-abcd-ef1234567890/email/ceo%40acme.com" \
  -H "Authorization: Bearer bcf847abf5c6:def456"
```

Remove a WhatsApp assignment (URL-encode the E.164 phone):

```bash
curl -X DELETE "https://api.statusdashboard.com/app/segments/registry/a1b2c3d4-e5f6-7890-abcd-ef1234567890/whatsapp/%2B14155552671" \
  -H "Authorization: Bearer bcf847abf5c6:def456"
```

## Sample response
**Status: `204 No Content`**

No response body.

***

## Error responses
| Status | When                              |
| ------ | --------------------------------- |
| `400`  | Invalid path parameters.          |
| `403`  | Not admin or feature not enabled. |
| `404`  | Assignment not found.             |
