Skip to main content
POST
Create team permissions

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.

Body

application/json
permissions
object[]
required

Initial status per key. Keys left out, or set to deny, start denied.

Maximum array length: 500
teamId
string<typeid>

The one team this set applies to, named " Permissions". A team can have one active permission set. Required unless Shared roles is on and name is given.

Required string length: 30
name
string

Shared roles: the role's name. Required when teamId is left out.

Required string length: 1 - 120
teamIds
string<typeid>[]

Shared roles: teams that get this role now. Each team's current custom role is replaced. Left out or empty, the role starts with no team.

Maximum array length: 100

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

Required string length: 30

Response

Team permission set created.

set
object
required