Retrieve all realms
GEThttps://demo.openremote.io/api/master/realm
Retrieve all realms
Request
Header Parameters
Authorization string
X-Forwarded-Proto string
X-Forwarded-Host string
Responses
- default
default response
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
idstring
namestring
displayNamestring
enabledboolean
notBeforedouble
passwordPolicystring[]
resetPasswordAllowedboolean
duplicateEmailsAllowedboolean
rememberMeboolean
registrationAllowedboolean
registrationEmailAsUsernameboolean
verifyEmailboolean
loginWithEmailboolean
loginThemestring
accountThemestring
adminThemestring
emailThemestring
accessTokenLifespanint32
realmRoles object[]
[
{
"id": "string",
"name": "string",
"displayName": "string",
"enabled": true,
"notBefore": 0,
"passwordPolicy": [
"string"
],
"resetPasswordAllowed": true,
"duplicateEmailsAllowed": true,
"rememberMe": true,
"registrationAllowed": true,
"registrationEmailAsUsername": true,
"verifyEmail": true,
"loginWithEmail": true,
"loginTheme": "string",
"accountTheme": "string",
"adminTheme": "string",
"emailTheme": "string",
"accessTokenLifespan": 0,
"realmRoles": [
{
"name": "string",
"description": "string"
}
]
}
]
Authorization: oauth2
name: openidtype: oauth2flows: {
"clientCredentials": {
"tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
"refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
"scopes": {
"profile": "profile"
}
},
"authorizationCode": {
"authorizationUrl": "/auth/realms/master/protocol/openid-connect/auth",
"tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
"refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
"scopes": {
"profile": "profile"
}
}
}
- curl
- nodejs
- java
- python
- ruby
- csharp
- go
- php
- powershell
- CURL
curl -L 'https://demo.openremote.io/api/master/realm' \
-H 'Authorization: Bearer <token>'
ResponseClear