Create Role (GraphQL)
Creates a new admin role with a name, description, and permission set.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminSettingsRole | Mutation | Create a role |
Quirks
permissionTypeis eithercustomorall.- When
permissionTypeiscustom, thepermissionsstring array is required — supply the permission keys this role should grant. - When
permissionTypeisall, omitpermissions(the role is granted full access; any list is ignored and stored as[]).
TIP
All operations require an admin Bearer token — see Authentication.

