## 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!)

Resources
Name | Description
--- | ---
application-session-stats | Returns a JSON map.
applications | List of applications belonging to this realm.
audit | View the audit provider and how it is configured.
logout-all | Removes all user sessions.
oauth-clients | 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
session-stats | Any application that has an admin URL will be asked directly how many sessions they have active and what users are involved with those sessions.
sessions ↳ sessions/{session} | Remove a specific user session.
users | Query list of users.

Method Summary
Resource | 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
HTTP Example:
    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. Output: `RealmRepresentation` - Produces: application/json
HTTP Example:
    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. Input: `RealmRepresentation` Output: `javax.ws.rs.core.Response` - Consumes: application/json
HTTP Example:
    DELETE /admin/realms/{realm}
Delete this realm. Output: `void`