Keycloak · Arazzo Workflow
Keycloak Assign a User to a Group
Version 1.0.0
Resolve a user and a group by name, add the membership, and verify it landed.
View Spec
View on GitHub
AuthenticationAuthorizationIdentity ManagementOpenID ConnectSecuritySSOArazzoWorkflows
Provider
Workflows
assign-user-to-group
Add a user to a group by username and group name, then verify the membership.
Resolves a username to a user UUID and a group name to a group UUID, adds the user to the group, and reads back the user's group list to confirm.
1
resolveUser
Resolve the account UUID from the username. The membership endpoint accepts only UUIDs, so this lookup is mandatory rather than convenience.
2
resolveGroup
Resolve the group UUID by searching top-level groups by name. Note this searches root groups; a nested subgroup has to be addressed by the id from its parent's subGroups tree instead.
3
addMembership
Add the user to the group. This is a PUT, so applying it to a user who is already a member succeeds quietly rather than conflicting.
4
verifyMembership
Read the user's group list back to prove the membership landed, and to show the caller every other group the account now inherits access from.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.