Skip to navigation

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

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
idstringOptionalformat: "uuid"
The id of the entity to team.
teamIdstringOptionalformat: "uuid"
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.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error