# Remove a contact from a workflow

> Stop a workflow for one contact.

Source: https://docs.mycrmsim.com/docs/automations/remove-contact-from-workflow

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

- Category: myCRMSIM Automations / Automations
- Auth: Bearer access token
- Scope: `automations.write`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The workflow id. Example: `wf_9a1` |
| `contact_id` | path | number | yes | The contact id. Example: `1234` |

## Response 200

OK

```json
{
  "success": true,
  "message": "Contact removed from the workflow",
  "data": null
}
```

## 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): automations.write. This integration was granted: …"
}
```

## Response 404

Workflow or contact not found (or not yours)

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