v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
documentSpaces

Adds teams to the document space with the specified id.

Adding teams to a document space will affect their access to the document space and documents within that space.

<Check title="Required Permissions" icon="key">The user must be an admin.</Check>

post/documentspaces/{documentSpaceId}/teams

Path parameters

documentSpaceIdstring uuid required

The id of the document space.

Headers

Authorizationstring required

Bearer authentication

Request body

accessLevel'read' | 'manage' required

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

teamIdstring uuid required

The id of the team to be added.

Response

OK

idstring uuid

The id of the entity to team.

teamIdstring uuid

The id of the team this entity to team references.

accessLevelstring nullable

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.