Skip to main content
PUT
Set a team's custom role

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

teamId
string<typeid>
required

Den TypeID with 'tem_' prefix and a 26-character base32 suffix.

Required string length: 30

Body

application/json
permissionSetId
string<typeid> | null
required

The custom role (team permission set) the team gets, replacing its current one. Null leaves the team with no custom role.

Required string length: 30

Response

The team's custom role was set; the role's current state is returned, or null when the team has none.

set
object | null
required