# Keycloak Organizations API

**Canonical:** https://apis.io/apis/keycloak/keycloak-organizations-api/  
**Provider:** Keycloak — https://apis.io/providers/keycloak/  
**Documentation:** https://www.keycloak.org/docs-api/latest/rest-api/

Keycloak Organizations API is one of 23 APIs that [Keycloak](https://apis.io/providers/keycloak/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Organizations. The published artifact set on APIs.io includes an OpenAPI specification.

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

## Operations (38)

| Method | Path | Summary |
|---|---|---|
| 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 |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/keycloak/openapi/keycloak-organizations-api-openapi.yml

## Other Keycloak APIs (12)

- [Keycloak Clients API](https://apis.io/apis/keycloak/keycloak-clients-api/)
- [Keycloak Groups API](https://apis.io/apis/keycloak/keycloak-groups-api/)
- [Keycloak Identity Providers API](https://apis.io/apis/keycloak/keycloak-identity-providers-api/)
- [Keycloak Realms API](https://apis.io/apis/keycloak/keycloak-realms-api/)
- [Keycloak Roles API](https://apis.io/apis/keycloak/keycloak-roles-api/)
- [Keycloak Users API](https://apis.io/apis/keycloak/keycloak-users-api/)
- [Keycloak Admin API](https://apis.io/apis/keycloak/keycloak-admin-api/)
- [Keycloak Attack Detection API](https://apis.io/apis/keycloak/keycloak-attack-detection-api/)
- [Keycloak Authentication Management API](https://apis.io/apis/keycloak/keycloak-authentication-management-api/)
- [Keycloak Client Attribute Certificate API](https://apis.io/apis/keycloak/keycloak-client-attribute-certificate-api/)
- [Keycloak Client Initial Access API](https://apis.io/apis/keycloak/keycloak-client-initial-access-api/)
- [Keycloak Client Registration Policy API](https://apis.io/apis/keycloak/keycloak-client-registration-policy-api/)

## Tags

Organizations

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/keycloak/keycloak-organizations-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/keycloak/.
