D

Delete conversations

DELETE /api/v1/im/conversations/{conversation_id}

Use this endpoint to delete conversations.

Endpoint

  • Method: DELETE

  • Path: /api/v1/im/conversations/{conversation_id}

  • Required scope: im:write

  • Base URL: https://dokki.one

  • Route source: app/api/v1/im/conversations/[conversationId]/route.ts

Parameters

  • conversation_id: path identifier

Query parameters are endpoint-specific and should be validated against the live API contract.

Request example

curl -X DELETE "https://dokki.one/api/v1/im/conversations/{conversation_id}"
  -H "Authorization: Bearer $DOKKI_API_KEY"
  -H "Content-Type: application/json"

Response

Successful responses are JSON. Preserve request_id values and treat resource identifiers as opaque UUIDs.

{
  "data": {},
  "request_id": "req_..."
}

Errors

  • 400 invalid request

  • 401 missing or invalid authentication

  • 403 insufficient scope or tenant access

  • 404 resource not found

  • 409 conflicting state

  • 429 rate limit exceeded

Log request_id with every error. See https://dokki.one/pub/api/authentication and https://dokki.one/pub/api/api-conventions.