Records

Bulk add/remove labels and types, or set the assignee

Add or remove labels and types, or set the assignee, across up to 100 records in one call. Each record's assignee is set as a single-record update would set it. Requires the records:write scope.

post/modules/{moduleSlug}/records/bulk

Request

  • Base URL: https://api.getcoherence.io/v1
  • URL: https://api.getcoherence.io/v1/modules/{moduleSlug}/records/bulk
  • Auth: HTTP bearer

Request body

recordIdsstring[] required
addLabelIdsstring[]
removeLabelIdsstring[]
addTypeIdsstring[]
removeTypeIdsstring[]
assigneeUserIdstring uuid nullable

The records' new assignee (their module's assignee field), an active member of the workspace; null unassigns.

Response

Updated records

Example response

{
  "records": [
    {
      "moduleSlug": "contacts"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.