Skip to main content

Create Realm and List Realm Settings Endpoints

Introduction

Use the /realms POST endpoint to create new realms from a template web.config and the /realms/<realm ID> GET endpoint to list the current realm's settings.

Prerequisites

1. Complete the Enablement and Header Steps in the Admin API Guide

2. Have access to the application code that calls to the API endpoint(s)

/realms Endpoints

Note

The following endpoints are prepended with the URL, https://<SecureAuth IdP Domain>/api/v2

Create Realm /realms POST Endpoint

Notice

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/v2/realms

v9.2 or later

List Realm Settings /realms/&lt;realm ID&gt; GET Endpoint

Notice

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/v2/realms/26

v9.2 or later