Skip to main content
PATCH
/
chat
/
threads
Rename threads
curl --request PATCH \
  --url https://www.dench.com/api/v1/chat/threads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "items": []
}'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
items
object[]
required
Required array length: 1 - 50 elements

Response

Successful response