Keycloak Organizations API

The Organizations API from Keycloak — 24 operation(s) for organizations.

Operations 38

GET /admin/realms/{realm}/organizations Returns a paginated list of organizations filtered according to the specified… #
POST /admin/realms/{realm}/organizations Creates a new organization #
GET /admin/realms/{realm}/organizations/count Returns the organizations counts #
GET /admin/realms/{realm}/organizations/members/{member-id}/organizations Returns the organizations associated with the user that has the specified id #
GET /admin/realms/{realm}/organizations/{org-id} Returns the organization representation #
PUT /admin/realms/{realm}/organizations/{org-id} Updates the organization #
DELETE /admin/realms/{realm}/organizations/{org-id} Deletes the organization #
GET /admin/realms/{realm}/organizations/{org-id}/groups Get organization groups #
POST /admin/realms/{realm}/organizations/{org-id}/groups Creates a new top-level group or moves an existing group to top-level #
GET /admin/realms/{realm}/organizations/{org-id}/groups/group-by-path/{path} Get organization group by path #
GET /admin/realms/{realm}/organizations/{org-id}/groups/{group-id} Get organization group representation #
PUT /admin/realms/{realm}/organizations/{org-id}/groups/{group-id} Update organization group #
DELETE /admin/realms/{realm}/organizations/{org-id}/groups/{group-id} Delete the organization group #
GET /admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/children Get subgroups of this organization group #
POST /admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/children Create or move a subgroup #
GET /admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/members Get members of this organization group #
PUT /admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/members/{userId} Add a user to this organization group #
DELETE /admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/members/{userId} Remove a user from this organization group #
GET /admin/realms/{realm}/organizations/{org-id}/identity-providers Returns all identity providers associated with the organization #
POST /admin/realms/{realm}/organizations/{org-id}/identity-providers Adds the identity provider with the specified id to the organization #
GET /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias} Returns the identity provider associated with the organization that has the… #
PUT /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias} Updates the per-association config for the identity provider linked to the… #
DELETE /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias} Removes the identity provider with the specified alias from the organization #
GET /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}/groups Returns organization groups for the identity provider #
GET /admin/realms/{realm}/organizations/{org-id}/invitations Get invitations for the organization #
GET /admin/realms/{realm}/organizations/{org-id}/invitations/{id} Get invitation by ID #
DELETE /admin/realms/{realm}/organizations/{org-id}/invitations/{id} Delete an invitation #
POST /admin/realms/{realm}/organizations/{org-id}/invitations/{id}/resend Resend an invitation #
GET /admin/realms/{realm}/organizations/{org-id}/members Returns a paginated list of organization members filtered according to the… #
POST /admin/realms/{realm}/organizations/{org-id}/members Adds the user with the specified id as a member of the organization #
GET /admin/realms/{realm}/organizations/{org-id}/members/count Returns number of members in the organization #
POST /admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user Invites an existing user to the organization, using the specified user id #
POST /admin/realms/{realm}/organizations/{org-id}/members/invite-user Invites an existing user or sends a registration link to a new user, based on… #
GET /admin/realms/{realm}/organizations/{org-id}/members/{member-id} Returns the member of the organization with the specified id #
DELETE /admin/realms/{realm}/organizations/{org-id}/members/{member-id} Removes the user with the specified id from the organization #
GET /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/groups Returns the organization group memberships for a member with the specified id #
PUT /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/membership-type Updates the membership type of the member with the specified id #
GET /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations Returns the organizations associated with the user that has the specified id #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/keycloak:keycloak-organizations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

keycloak-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Keycloak Admin REST Organizations API
  description: This is a REST API reference for the Keycloak Admin REST API.
  version: '1.0'
tags:


# --- truncated at 32 KB (53 KB total) ---
# Full source: https://artifacts.apis.io/keycloak/openapi/keycloak-organizations-api-openapi.yml