Update Role (GraphQL)
Updates an existing role's name, description, permission type, and permission set.
Operation
| Operation | Type | Purpose |
|---|---|---|
updateAdminSettingsRole | Mutation | Update a role |
Quirks
input.idis the IRI form (/api/admin/settings/roles/{id}).- Switching
permissionTypetoallclearspermissionsto[]— the response above shows this: the role wascustomwith permission keys before the update and comes back with an emptypermissionsarray. - When
permissionTypeiscustom, supply the fullpermissionsstring array you want the role to have.
TIP
All operations require an admin Bearer token — see Authentication.

