Adds a list of document contributors to a document with the specified id.

Recalculation of permissions for related entities considering the new document contributors will be done in the background asynchronously. <Check> <b>Required Permissions</b>: The user has at least manage permissions for this document.</Check><Info>Adding document contributors will affect their access to the document. Specifically the access of a particular user.</Info>

Path parameters

documentIdUUIDRequired
The document id.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a list of objects.
accessLevelenumRequired

Determines the level of access granted to this contributor with respect to the referenced entity. Can be either set to read or manage.

Allowed values:
userIdUUIDRequired
The id of the user this contributor references.

Response

OK
idUUIDOptional
The id of the contributor.
userIdUUIDOptional
The id of the user this contributor references.
accessLevelstring or nullOptional

Determines the level of access granted to this contributor with respect to the specific entity. Can be either set to read or manage.