Red Hat · Arazzo Workflow
Red Hat Keycloak Upsert a Realm User
Version 1.0.0
Look up a user by username and update it if it exists, otherwise create it.
View Spec
View on GitHub
CloudContainersEnterpriseHybrid CloudKubernetesLinuxOpen-SourceArazzoWorkflows
Provider
Workflows
upsert-user
Upsert a Keycloak realm user keyed on username.
Searches a realm for a user by username and either updates the matched user or creates a new one, resolving the created user's id by re-listing.
1
findUser
listUsers
Search the realm for an exact username match, returning at most one user.
2
updateExisting
updateUser
Update the matched user's profile attributes in place.
3
createUser
createUser
Create a new user in the realm with the supplied profile attributes when no existing user matched the username.
4
resolveCreatedUser
listUsers
Re-read the realm by username to resolve the id of the user that was just created, since the create call returns no body.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for arazzo workflows
4 MCP tools reach this
find_arazzoBrowse and filter every workflow in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/red-hat-keycloak-upsert-user-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.