The following endpoints are prepended with the URL, https://<SecureAuth IdP Domain>/api/v1 if running SecureAuth IdP v9.1
– or https://<SecureAuth IdP Domain>/api/v2 if running SecureAuth IdP v9.2 or later
Create Realm /realms POST Endpoint
UI Text Box
type
info
Use this endpoint to create new SecureAuth IdP realms. Once created, the realm is configured with the default, template settings.
HTTP Method
Endpoint
Example
SecureAuth IdP version
POST
/realms
https://secureauth.company.com/api/v1/realms
v9.1
POST
/realms
https://secureauth.company.com/api/v2/realms
v9.2 or later
UI Expand
title
Definitions
Id: The unique ID associated to the created realm, and the ID used for the subsequent endpoints to configure the realm's settings
Overview: The realm's default Overview settings, configured via the Overview endpoint
Data: The realm's default Data settings, configured via the Data endpoints
Workflow: The realm's default Workflow settings, configured via the Workflow endpoint
AdaptiveAuthentication: The realm's default Adaptive Authentication settings, configured via the Adaptive Authentication endpoint
MultiFactor: The realm's default Multi-Factor Methods settings, configured via the Multi-Factor Methods endpoint
PostAuthentication: The realm's default Post Authentication settings, configured via the Post Authentication endpoint
ApiSetting: The realm's default API settings, configured via the API endpoints
LogSetting: The realm's default Logs settings, configured via the Logs endpoint
status: The status of the call, either Success or Failure / Error
message: Additional information pertaining to the status that is populated only in failure responses
UI Expand
title
Success Response Example
The following examples show success responses for realm setup. The setup maps responses map to the settings available for the UIsetup. For example, the "overview" responses map to Overview Tab Settings. The "data" responses map to Data Tab Configuration. For more mappings, see Admin Guide (versions 9.1+).
List Realm Settings /realms/<realm ID> GET Endpoint
UI Text Box
type
info
Use this endpoint to view the realm's current configuration. No settings can be configured at this endpoint.
HTTP Method
Endpoint
Example
SecureAuth IdP version
GET
/realms/<realm ID>
https://secureauth.company.com/api/v1/realms/26
v9.1
GET
/realms/<realm ID>
https://secureauth.company.com/api/v2/realms/26
v9.2 or later
UI Expand
title
Definitions
Realm ID: The unique ID of the SecureAuth IdP realm, generated in the Create Realm endpoint response or acquired from the Web Admin UI as the Realm Name, e.g. SecureAuth26, with 26 being the realm ID