Adds teams to the specified document.
Adds teams and changes their access to the document. Access for related entities is recalculated asynchronously.
Required Permissions
The user must have at least write permission for the specified document.Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
documentId
The id of the document.
Request
The model used to add document teams to the document.
accessLevel
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:
teamId
The id of the team to be added.
Response
OK
id
The id of the entity to team.
teamId
The id of the team this entity to team references.
accessLevel
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
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error

