## Path: / admin / realms / {realm}

Get the top-level representation of the realm. It will not include nested information like User, Application, or OAuth Client representations.

Path parameters:
  realm - realm name (not id!)

Sub-Resources

  Resources
  Name | Description
  --- | ---
  application-by-id-session-stats | Returns a JSON map.
  application-session-stats | Returns a JSON map.
  applications | List of applications belonging to this realm.
  applications-by-id | List of applications belonging to this realm.
  events | Query events.
  logout-all | Removes all user sessions.
  oauth-clients | Get a list of oauth clients in this realm.
  oauth-clients-by-id | Get a list of oauth clients in this realm.
  push-revocation | Push the realm's revocation policy to any application that has an admin url associated with it.
  roles | List all roles for this realm or application
  roles-by-id ↳ roles-by-id/{role-id} | Get a specific role's representation
  sessions ↳ sessions/{session} | Remove a specific user session.
  testLDAPConnection |
  user-federation |
  users | Query list of users.

Resource Methods

  Method Summary
  Name | Description
  --- | ---
  `GET /admin/realms/{realm}` | Get the top-level representation of the realm.
  `PUT /admin/realms/{realm}` | Update the top-level information of this realm.
  `DELETE /admin/realms/{realm}` | Delete this realm.

Method Detail
  ### GET /admin/realms/{realm} Get the top-level representation of the realm. It will not include nested information like User, Application, or OAuth Client representations. HTTP Example:
      GET /admin/realms/{realm}
Output: `RealmRepresentation` - Produces: application/json
  ### PUT /admin/realms/{realm} Update the top-level information of this realm. Any user, roles, application, or oauth client information in the representation will be ignored. This will only update top-level attributes of the realm. HTTP Example:
      PUT /admin/realms/{realm}
Input: `RealmRepresentation` Output: `Response` - Consumes: application/json
  ### DELETE /admin/realms/{realm} Delete this realm. HTTP Example:
      DELETE /admin/realms/{realm}
Output: `void`