v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
documents

Updates the document team with the specified id.

Updates the specific document team of a document. Updating a document team will affect their access to the document. There will be recalculation of permissions for related entities considering the updated document team.

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

Path parameters

documentIdstring uuid required

The id of the document.

documentToTeamIdstring uuid required

The id of the document to team connection to update.

Headers

Authorizationstring required

Bearer authentication

Request body

accessLevel'read' | 'manage' required

Determines the level of access granted to this contributor or team with respect to the referenced entity. Can be either set to read or manage where read allows viewing the entity and manage allows full control over it (read, write and permission changes).

Response

OK

idstring uuid

The id of the entity to team.

teamIdstring uuid

The id of the team this entity to team references.

accessLevelstring nullable

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