v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
documents

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

Adding document contributors will grant them access to the document. There will be a recalculation of permissions for related entities considering the updated document contributor.

        <Check title="Required Permissions" icon="key">The user must have at least `write` permissions for this document.</Check>
post/documents/{documentId}/contributors

Path parameters

documentIdstring uuid required

The id of the document to add contributors to.

Headers

Authorizationstring required

Bearer authentication

Request body

accessLevel'read' | 'manage' required

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

userIdstring uuid required

The id of the user this contributor references.

Response

OK

idstring uuid

The id of the contributor.

userIdstring uuid

The id of the user this contributor references.

accessLevelstring nullable

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