List realms and flag the default
import requests
url = "https://{FUSION HOST}/api/realm-configs/default"
response = requests.get(url)
print(response.text)[
{
"id": "344b8d5b-b822-4d58-881e-ce36101c9296",
"name": "apikey"
},
{
"id": "realm-okta",
"name": "realm-okta"
},
{
"id": "a1d0e763-3af0-460c-8638-bb8b8a8fbdb7",
"name": "native",
"default": true
}
]List realms and flag the default
List the realm names and IDs, and flag the default realm if there is one.
GET
/
realm-configs
/
default
List realms and flag the default
import requests
url = "https://{FUSION HOST}/api/realm-configs/default"
response = requests.get(url)
print(response.text)[
{
"id": "344b8d5b-b822-4d58-881e-ce36101c9296",
"name": "apikey"
},
{
"id": "realm-okta",
"name": "realm-okta"
},
{
"id": "a1d0e763-3af0-460c-8638-bb8b8a8fbdb7",
"name": "native",
"default": true
}
]Was this page helpful?
⌘I