Skip to main content
PATCH
/
documents
/
{documentId}
Set document category
curl --request PATCH \
  --url https://api.example.com/documents/{documentId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "category": "kbis"
}
'
{}

Path Parameters

documentId
string
required

the document id to patch metadata

Body

application/json
category
string
required

category of the document

Example:

"kbis"

aiCorrection
object

AI classification correction context, provided when overriding an AI suggestion

Response

The response is of type object.