Skip to content

updateDocumentLabels

DESTRUCTIVE

Update document labels.

POST /api/v1/documents/updateDocumentLabels
curl -X POST '<your-host>/api/v1/documents/updateDocumentLabels' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentId": "string"
  }'

Parameters

ParameterType
min length 20

Input schema

schema
{
  "type": "object",
  "properties": {
    "documentId": {
      "type": "string",
      "minLength": 20
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 50
      }
    }
  },
  "required": [
    "documentId"
  ]
}