Skip to main content
POST
Assign groups to a role

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier for the role (service-generated).

Body

groups
string[]
required

Array of group IDs to assign to the role.

Minimum array length: 1

Unique identifier for the group (service-generated).

Required string length: 18 - 26
Pattern: ^grp_[1-9a-km-zA-HJ-NP-Z]{14,22}$

Response

Groups successfully assigned to role.