# Delete Chat **DELETE /api/v1/chats/{chatID}** Deletes a chat session and its associated messages. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **chatID** (integer) Chat ID ## Responses ### 200 Chat deleted successfully #### Body: application/json (object) - ***** (string) ### 400 Invalid chat ID #### Body: application/json (object) - ***** (string) ### 401 Unauthorized (JWT invalid/missing or Org ID not found) #### Body: application/json (object) - ***** (string) ### 403 Permission denied (Chat doesn't belong to user's org) #### Body: application/json (object) - ***** (string) ### 404 Chat not found #### Body: application/json (object) - ***** (string) ### 500 Failed to get or delete chat #### Body: application/json (object) - ***** (string) [Powered by Bump.sh](https://bump.sh)