Collections

Change a document's labels by hand

Changed on

Adds and removes labels on one document (add, remove, each at most 50 labels such as relationship:client). A person's labels are kept whenever the document's labels are derived again. Refused (403) when the change would move the document into or out of a limited collection the key's person may not manage. Requires the documents:write scope. The key's person must be allowed to edit in the workspace, as in the web app.

patch/v1/documents/{id}/traits

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

object required
add, string[]
remove, string[]

Response

OK

object required

Changes