v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
documents

Updates the access of a document contributor with the specified id to a document.

Updating a document contributor will affect their 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 the specified document.</Check>
put/documents/{documentId}/contributors/{documentContributorId}

Path parameters

documentIdstring uuid required

The id of the document to update.

documentContributorIdstring uuid required

The id of the document contributor to update.

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.

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.