Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

documentId
string<uuid>
required

The document identifier (UUID)

Query Parameters

userId
string

Requires an Organization API key. Optional user ID that attributes the action to the specified user.

Body

application/json
add
string[]

Label names to add to the document

Required string length: 2 - 25
remove
string[]

Label names to remove from the document

Required string length: 2 - 25

Response

Labels updated successfully

labels
string[]

The updated list of labels on the document