Skip to main content

Add tag to document

POST 

/documents/:documentId/tags

Add multiple tags to a document; this endpoint also accepts a different body parameter for adding a single tag

Request

Path Parameters

    documentId stringrequired

    Document Identifier

Query Parameters

    siteId string

    Site Identifier

Body

required

    tags

    object[]

    List of document tags

  • Array [

  • key stringrequired

    Tag key

    value string

    Tag value

    values string[]

    Tag values

  • ]

Responses

200 OK

Response Headers

  • Access-Control-Allow-Origin

    string

  • Access-Control-Allow-Methods

    string

  • Access-Control-Allow-Headers

    string

Loading...