OpenapiExt
Create a new realm
Creates a new realm in the system. Only principals with `realm.manage` permission in the admin realm may invoke this endpoint. # Authentication Requires valid API Key via X-API-Key header # Authorization The caller must have `realm.manage` permission in the `admin` realm.
POST
Creates a new realm in the system. Only principals with realm.manage permission
in the admin realm may invoke this endpoint.
Authentication
Requires valid API Key via X-API-Key header
Authorization
The caller must have realm.manage permission in the admin realm.
api_keyheader
X-API-Key<token>Client-app API key (third-party external API).
application/json- body
Request body for creating a realm via the ext API
adminUser*Admin user credentials for realm creation
description?string|nullname*stringLength
3 <= length <= 50Realm created successfully
application/json- response
Realm detail response for create/get endpoints
adminUser?null|createdAt*stringdescription?string|nullid*stringname*stringupdatedAt*stringcurl -X POST 'https://example.com/api/ext/realms' \
-H 'Content-Type: application/json' \
-d '{
"adminUser": {
"email": "string",
"password": "stringst"
},
"name": "string"
}'Example Response
{
"adminUser": null,
"createdAt": "string",
"description": "string",
"id": "string",
"name": "string",
"updatedAt": "string"
}