Create a new client app in a realm
Creates a client app in the specified realm. Only principals with `clients.manage` permission in the target realm may invoke this endpoint. # Authentication Requires valid API Key via X-API-Key header # Authorization The caller must have `clients.manage` permission in the target realm.
Creates a client app in the specified realm. Only principals with clients.manage permission
in the target realm may invoke this endpoint.
Authentication
Requires valid API Key via X-API-Key header
Authorization
The caller must have clients.manage permission in the target realm.
api_keyX-API-Key<token>Client-app API key (third-party external API).
realmId*stringRealm ID
application/json- body
Request body for creating a client app via the ext API
description?string|nulldeviceCodeGrantEnabled?|Enable device code grant flow for this client app. When enabled, redirect_uris may be empty (device flow has no callback).
name*stringredirectUris*array<string>Client app created successfully
application/json- response
Client app detail response for create/get endpoints
clientId*stringclientSecret?string|nullcreatedAt*stringdescription?string|nullenabled*booleanid*stringname*stringredirectUris*array<string>curl -X POST 'https://example.com/api/ext/realms/string/client-apps' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"redirectUris": [
"string"
]
}'{
"clientId": "string",
"clientSecret": "string",
"createdAt": "string",
"description": "string",
"enabled": true,
"id": "string",
"name": "string",
"redirectUris": [
"string"
]
}