Deletes a specific chat.
| Permission | Description |
|---|---|
chats.delete | Delete your own chats |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| chat-id | int | Yes | ID of the chat to delete | 123 |
DELETE /api/v1/chats/123
Authorization: Bearer {token}
No content is returned when the chat is successfully deleted.
| Status | Description | Reference |
|---|---|---|
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |
| 404 | Not found | Not-found error |