Skip to main content
PUT
Update Document Categories

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
categories
string[]
required

List of categories to be assigned to the document

Example:

Response

Successful Response

document_id
string
required

ID of the updated document

Example:

"doc-abc123"

old_categories
string[]
required

Categories before the update

Example:
new_categories
string[]
required

Categories after the update

Example:
message
string
required

Human-readable confirmation message