Adds teams to the document space with the specified id.

<Check title="Required Permissions" icon="key">The user has to be an admin.</Check> Adding teams to a document space will affect their access to the document space and documents within that space.

Authentication

AuthorizationBearer

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

Path parameters

documentSpaceIdstringRequiredformat: "uuid"
The id of the document space.

Request

The model with the list of teams to add.
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