Skip to main content
GET
/
realm-configs
List realms
import requests

url = "https://{FUSION HOST}/api/realm-configs"

response = requests.get(url)

print(response.json())
[
  {
    "realmType": "native",
    "id": "e1d0e763-2af4-460c-8628-cb8b8b8ebdb2",
    "name": "native",
    "enabled": true,
    "createdAt": "2023-10-05T20:09:51Z"
  },
  {
    "realmType": "jwt",
    "id": "f266c66c-626a-439e-8e81-450ae9375f7a",
    "name": "webapps-jwt-realm",
    "enabled": true,
    "createdAt": "2023-10-05T20:09:51Z",
    "roleNames": [
      "webapps-role"
    ],
    "config": {
      "autoCreateUsers": false,
      "jwtIssuer": "Fusion",
      "signingKey": "23913953-164c-47ef-a897-d20f57c889e7",
      "groups": {
        "groupKey": "groups",
        "roleMapping": [
          [
            "default_group",
            "webapps-role"
          ]
        ]
      },
      "ephemeralUsers": false
    }
  }
]

Query Parameters

name
string

Realm name to be returned

Response

200 - application/json

OK

  • Option 1
  • API key realm
  • JWT realm
  • Kerberos realm
  • LDAP realm
  • OIDC realm
  • SAML realm
  • Trusted HTTP realm
name
string
required

The name of the realm. This name will appear on the login screen of the UI, and will appear in user records to identify the realm they belong to.

realmType
string
required

Use the /realm-configs endpoint to get the list of valid realm types.

Example:

"native"

id
string
enabled
boolean

If true, the realm is available for users to use with system authentication.

createdAt
string<date-time>
Example:

"2025-09-23T17:48:07Z"

updatedAt
string<date-time>
Example:

"2025-10-31T12:28:04Z"