## Stop my pause

`DELETE /v1/openlines/operator/pause`

Turns off the Open Channel operator pause for the employee the call runs as.

No parameters, no request body. The employee is determined by authorization — see [On whose behalf the action runs](/docs/openlines/operator#on-whose-behalf-the-action-runs).

## Examples

### curl — personal key

```bash
curl -X DELETE https://vibecode.bitrix24.com/v1/openlines/operator/pause \
  -H "X-Api-Key: YOUR_API_KEY"
```

### curl — OAuth application

```bash
curl -X DELETE https://vibecode.bitrix24.com/v1/openlines/operator/pause \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -H "Authorization: Bearer USER_SESSION_TOKEN"
```

### JavaScript — personal key

```javascript
const res = await fetch('https://vibecode.bitrix24.com/v1/openlines/operator/pause', {
  method: 'DELETE',
  headers: { 'X-Api-Key': 'YOUR_API_KEY' },
})
const { data } = await res.json()
console.log('Pause on:', data.paused)
```

### JavaScript — OAuth application

```javascript
const res = await fetch('https://vibecode.bitrix24.com/v1/openlines/operator/pause', {
  method: 'DELETE',
  headers: {
    'X-Api-Key': 'YOUR_APP_KEY',
    'Authorization': 'Bearer USER_SESSION_TOKEN',
  },
})
const { data } = await res.json()
console.log('Pause on:', data.paused)
```

## Response fields

| Field | Type | Description |
|------|-----|----------|
| `success` | boolean | `true` when the pause is turned off |
| `data.paused` | boolean | Pause state re-read after the call. `false` in a successful response |

## Response example

```json
{
  "success": true,
  "data": {
    "paused": false
  }
}
```

## Error response example

401 — the `X-Api-Key` header is missing:

```json
{
  "success": false,
  "error": {
    "code": "MISSING_API_KEY",
    "message": "API key required. Pass via X-Api-Key header."
  }
}
```

## Errors

| HTTP | Code | Description |
|------|-----|----------|
| 422 | `BITRIX_ERROR` | Bitrix24 rejected the request. The refusal text is in `message` |
| 403 | `BITRIX_ACCESS_DENIED` | The employee the call runs as has no permission for the action |
| 502 | `OPENLINE_OPERATOR_FAILED` | The pause stayed on after the call: the re-read state is `true` |
| 502 | `OPENLINE_OPERATOR_FAILED` | Bitrix24 returned a non-boolean value instead of the pause state |
| 403 | `SCOPE_DENIED` | The key has no `imopenlines` scope |
| 403 | `WRITE_BLOCKED_READONLY_KEY` | The key is read-only |
| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing |
| 401 | `INVALID_API_KEY` | The key is not recognized |
| 401 | `TOKEN_MISSING` | A personal key has no access to the Bitrix24 portal, or an application key was sent without a session token in `Authorization` |
| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable or the connection to it broke before the response was complete |

Full list of common API errors — [Errors](/docs/errors).

## Known specifics

- **Turning the pause off again does not return an error.** If the pause is already off, the call returns `200` with `paused: false`, and the state does not change.

## See also

- [Read my pause](/docs/openlines/operator/pause)
- [Start my pause](/docs/openlines/operator/pause-start)
- [Operator actions and my pause](/docs/openlines/operator)
- [Open Channels](/docs/openlines)
