List teams
Returns the organization's teams, the Everyone team included.
Needs an organization token with viewMembers.
query Parameters
pageThe page to return, counted from 1. A page below 1 reads page 1; one past the last returns no items.
limitItems per page, from 1 to 100. A larger value is clamped to 100, a smaller one to 1.
List teams › Responses
Success
Create team
Creates a team with no members and no workspace access. Team names are unique in the organization.
Needs an organization token with createTeam.
Headers
Idempotency-KeyA unique value, at most 255 printable ASCII characters, such as a UUID, that makes retrying this create safe. A retry with the same key and the same request within 24 hours answers the first response again, marked Idempotent-Replayed: true, and creates nothing; the same key with another request answers 422 idempotency_key_reused. A key is kept only for a create that succeeded. Without it, every request creates.
Create team › Responses
Created
id^team_[A-Za-z0-9_-]{… · requirednameisSystemTeammemberCountcreatedAtGet team
Returns a team with its members and its workspace access. The workspace access lists only workspaces the token can view: none for a token without viewWorkspace.
Needs an organization token with viewMembers.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredGet team › Responses
Success
id^team_[A-Za-z0-9_-]{… · requirednameisSystemTeamcreatedAtUpdate team
Renames a team. The Everyone team cannot be renamed.
Needs an organization token with manageTeam.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredHeaders
If-MatchApplies the write only while the resource still has this ETag, and answers 412 precondition_failed otherwise. Without it, the last write wins.
Update team › Responses
Success
id^team_[A-Za-z0-9_-]{… · requirednameisSystemTeammemberCountcreatedAtDelete team
Deletes a team, its memberships and its workspace access. The Everyone team cannot be deleted.
Needs an organization token with deleteTeam.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredHeaders
If-MatchApplies the write only while the resource still has this ETag, and answers 412 precondition_failed otherwise. Without it, the last write wins.
Delete team › Responses
No Content
Add team member
Adds a member of the organization to a team with a role. A user already in the team is a conflict.
Needs an organization token with manageTeam.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredAdd team member › Request Body
userId^usr_[A-Za-z0-9_-]{2… · requiredroleAdd team member › Responses
No Content
Update team member
Changes a team member's role.
Needs an organization token with manageTeam.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requireduserId^usr_[A-Za-z0-9_-]{2… · requiredUpdate team member › Request Body
roleUpdate team member › Responses
No Content
Remove team member
Removes a member from a team. Nobody can be removed from the Everyone team.
Needs an organization token with manageTeam.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requireduserId^usr_[A-Za-z0-9_-]{2… · requiredRemove team member › Responses
No Content
List team workspace access
Returns the workspaces a team has an access level on, of those the token can view: none for a token without viewWorkspace.
Needs an organization token with viewMembers.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredquery Parameters
pageThe page to return, counted from 1. A page below 1 reads page 1; one past the last returns no items.
limitItems per page, from 1 to 100. A larger value is clamped to 100, a smaller one to 1.
List team workspace access › Responses
Success
Set team workspace access
Sets the access level a team's members have on a workspace, replacing any level it had.
Needs an organization token with manageWorkspaceAccess.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredworkspaceId^wsp_[A-Za-z0-9_-]{2… · requiredSet team workspace access › Request Body
accessLevelSet team workspace access › Responses
No Content
Remove team workspace access
Removes a team's access level on a workspace.
Needs an organization token with manageWorkspaceAccess.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredworkspaceId^wsp_[A-Za-z0-9_-]{2… · requiredRemove team workspace access › Responses
No Content
Set team default dashboard
Sets the dashboard of the workspace that the team's members open after signing in, unless they chose their own, or clears it with a null dashboardId. The team needs access to the workspace, and the Everyone team has none. Removing the team's access to the workspace ends its default there; changing the level keeps it.
Needs an organization token with manageWorkspaceAccess and viewDashboards.
path Parameters
teamId^team_[A-Za-z0-9_-]{… · requiredworkspaceId^wsp_[A-Za-z0-9_-]{2… · requiredSet team default dashboard › Responses
Success
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredworkspaceNameaccessLevel