Roles

Create a new role in an organization

post/v1/roles

Request body

namestring
descriptionstring
ssoGroupMappingsstring[]
enabledboolean
policyScopesstring[]

Example request

{
  "ssoGroupMappings": [
    "idp-group-name"
  ],
  "policyScopes": [
    "developer"
  ]
}

Response

Responding with created role

idId — unresolved $ref
namestring
descriptionstring
organizationIdId — unresolved $ref
ssoGroupMappingsstring[]
enabledboolean
createdAtCreatedAt — unresolved $ref
policyScopesstring[]

Changes

No recorded changes to this endpoint across all 1 revision of this API.