Adds contributors to the specified document.

Adds contributors and grants them access to the document. Access for related entities is recalculated asynchronously. <Check title="Required Permissions" icon="key">The user must have at least `write` permission for the specified document.</Check>

Authentication

AuthorizationBearer

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

Path parameters

documentIdstringRequiredformat: "uuid"
The id of the document to add contributors to.

Request

The model used to add the document contributors.
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:
userIdstringRequiredformat: "uuid"
The id of the user this contributor references.

Response

OK
idstringOptionalformat: "uuid"
The id of the contributor.
userIdstringOptionalformat: "uuid"
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.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error