Updates the document team with the specified id.

Updates the specific document team of a document. There will be recalculation of permissions for related entities considering the updated document team. <Check> <b>Required Permissions</b>: The user has at least manage permissions for this document.</Check><Info>Updating a document team will affect their access to the document. Specifically the access of a particular team.</Info>

Path parameters

documentIdUUIDRequired
The document id.
documentToTeamIdUUIDRequired
The document to team id.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
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:

Response

OK
idUUIDOptional
The id of the entity to team.
teamIdUUIDOptional
The id of the team this entity to team references.
accessLevelstring or nullOptional

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.