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

Recalculation of permissions for related entities considering the new document teams will be done in the background asynchronously. <Check><b>Required Permissions</b>: The user has at least `manage` permissions for this document.</Check><Info>Adding document teams will affect their access to the document. Specifically the access of a particular team.</Info>

Path parameters

documentIdstringRequiredformat: "uuid"
The document id.

Headers

AuthorizationstringRequired

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

Request

The forms.
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:
teamIdstringRequiredformat: "uuid"
The id of the team this entity to team references.

Response

OK
idstring or nullformat: "uuid"
The id of the entity to team.
teamIdstring or nullformat: "uuid"
The id of the team this entity to team references.
accessLevelstring or null

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.