Authentication > Roles > organizationsRolesCreate
organizationsRolesCreate
POST:organizations/roles.json
Description
Create one or multiple roles.
You cannot give more permissions to roles than you currently have.
Topic: Roles
Arguments
data: [RoleCreate!]!
Main argument for mutations.
Unique organization identifier. See also: Unique Identifiers
Example: "og_EQzGqWoY"
Data Argument Fields
The name of the role
Example: "Administrator"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
A set of permission bits describing this role
Result
[Role!]
Preview (typescript)
Loading module