Collections

Assign a collection

Changed on

enforced limits what the person or group sees to the collection; default only preselects it. Requires the documents:write scope. The key's person must be an Admin of the workspace (the workspace permission), as in the web app.

post/v1/collections/{id}/assignments

Request

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

Path parameters

id, string uuid required

Request body

object required
principal_type, 'user' | 'group' required
principal_id, string uuid required
mode, 'enforced' | 'default' required

Response

OK

object required

Changes