Skip to content

Role Detail (GraphQL)

Fetches a single role by its IRI id, returning its full permission set.

Operation

OperationTypePurpose
adminSettingsRole(id:)QueryFetch one role with all fields

Quirks

  • id is the IRI form (/api/admin/settings/roles/{id}); _id is the numeric id.
  • For a custom role, permissions is the full string array of granted permission keys.
  • For an all role, permissions is null — the role has full access with no explicit key list.

TIP

All operations require an admin Bearer token — see Authentication.

Released under the MIT License.