Skip to main content
DELETE
/
api
/
chats
cURL
curl --request DELETE \
  --url https://recoup-api.vercel.app/api/chats \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "status": "success",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Body

application/json

Chat deletion parameters

id
string<uuid>
required

The unique identifier (UUID) of the chat room to delete.

Response

Chat deleted successfully

status
enum<string>
required

Status of the request

Available options:
success
id
string<uuid>
required

The UUID of the deleted chat room.

message
string
required

Success message describing the deletion result.