Passer au contenu principal
POST
Assign groups to a role

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

id
string
requis

Unique identifier for the role (service-generated).

Corps

groups
string[]
requis

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}$

Réponse

Groups successfully assigned to role.