Skip to content
Pyck docs

userServiceRoles

Since pyck v0.27.0

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

Served by: management

Name Type Default Description
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>"
}
}