# CheckDeletedEvent_V20

`EVENT /websocket/events/checks/CheckDeletedEvent`

Core API · Checks - Events · base URL `https://core-api.ancon.io` · docs: https://ancon.dev/api/core/checks-events/check-deleted-event-v20

Sent when a check is deleted

Client types: POS

Groups: CheckId, OutletId, SalesLocationId, GroupId

Scopes: Outlet

## Responses

| Status | Description |
| --- | --- |
| 200 | Event payload schema |

### 200 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `messageId` | string (uuid) | no |  |
| `clientId` | string (uuid) or null | no |  |
| `correlationId` | string or null | no |  |
| `timestamp` | integer (int64) | no |  |
| `checkId` | string (uuid) | no |  |
| `salesLocation` | object | no |  |
| `salesLocation.salesLocationId` | string (uuid) | no |  |
| `salesLocation.type` | integer (int32) | no | Allowed values: `0`, `1`, `2`, `3`. |
| `lingerWhenClosed` | boolean | no |  |

#### Example (from schema)

```json
{
  "messageId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "clientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "correlationId": "string",
  "timestamp": 0,
  "checkId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "salesLocation": {
    "salesLocationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "type": 0
  },
  "lingerWhenClosed": true
}
```
