Skip to main content
Share enumeration records

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

name
string
required

Name of the enumeration definition, unique within the tenant and used as its identifier wherever the enumeration is referenced.

Required string length: 1 - 100
Pattern: ^[a-z0-9_]+$
Example:

"priorities"

Body

application/json
ids
string[]
required

Identifiers of the records whose sharing is to be changed.

Required array length: 1 - 10000 elements
Minimum string length: 1
Example:
allowEdit
boolean

Whether the share grants changing the record as well as reading it. It applies to every user and group the record is shared with, not to individual recipients. Left out, each record keeps the setting it has - and changing it requires the caller to be able to edit the record themselves.

groupsToAdd
string[]

Groups to share the records with, which reaches their members. Each of them has to exist, otherwise nothing at all is written. Ignored when removeAll is set.

Minimum string length: 1
Example:
groupsToRemove
string[]

Groups whose share of the records is to be withdrawn. A group that was not among the recipients is passed over. Ignored when removeAll is set.

Minimum string length: 1
Example:
removeAll
boolean
default:false

Whether to withdraw every share of the records at once, users and groups alike, leaving them to their owner only.

Example:

false

usersToAdd
string[]

Users to share the records with. Each of them has to exist, otherwise nothing at all is written. Ignored when removeAll is set.

Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$
usersToRemove
string[]

Users whose share of the records is to be withdrawn. A user who was not among the recipients is passed over. Ignored when removeAll is set.

Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$

Response

Returns the entries that did not go through.

count
integer
required

Number of items the request processed, successful and failed alike.

Example:

22

errors
boolean
required

Whether any item failed. Check it before treating the call as a clean success - the request itself answers 200 even when individual items did not go through.

Example:

false

items
object[]

Per-item outcomes. Endpoints report the failed items here; some also list the successful ones, so read each item's own status rather than inferring it from being listed.