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

Adding document teams will affect their access to the document. Recalculation of permissions for related entities considering the new document teams will be done in the background asynchronously. <Check title="Required Permissions" icon="key">The user must have at least `write` permissions for the specified document.</Check>

Authentication

AuthorizationBearer

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

Path parameters

documentIdstringRequiredformat: "uuid"
The id of the document.

Request

The model used to add document teams to the document.
accessLevelenumRequired

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).

Allowed values:
teamIdstringRequiredformat: "uuid"
The id of the team to be added.

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.

Errors