POST/ai/chats/delete

Delete an AI chat

Deletes an AI chat. Supply chatId as a UUID to identify the chat to remove.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field

Identifier of the AI chat to delete.

chatIdstringrequired
The chat's unique identifier, in UUID format.

2 status codes
200Returns a response confirming the chat was deleted.
dataunknownoptional
Response payload
statusintegeroptional
successbooleanoptional
404Returned when the requested chat does not exist.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional

Error handling

A 404 is returned when the chat identified by chatId does not exist. chatId is required and must be a UUID.