Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

userServiceRoles

List the per-service roles currently assigned to a user within a tenant, read directly from Zitadel. Tenant-admin only. The Zitadel root organization is refused: it is not a tenant, and its accounts are managed in the Zitadel console.

Served by: management

Name Type
input UserServiceRolesInput!

[String!]!

Returns the per-service roles assigned to a user within a tenant, read directly from Zitadel. Tenant-admin only.

query GetUserServiceRoles($input: UserServiceRolesInput!) {
userServiceRoles(input: $input)
}

Variables

{
"input": {
"tenantId": "<tenant UUID>",
"userId": "<management user UUID>"
}
}