Herald
OpenapiRealms

Update realm Passkey configuration

Updates the Passkey configuration for a realm, including whether Passkey authentication is enabled. Requires 'settings.manage' permission.

PUT
/api/realms/{realmId}/config/passkey

Updates the Passkey configuration for a realm, including whether Passkey authentication is enabled. Requires 'settings.manage' permission.

Authorization

bearer_auth
headerAuthorizationBearer <token>

Path Parameters

realmId*string

Realm ID

Request Body

application/json
  1. body
crossPlatformAuthenticator?boolean|null
enabled*boolean
forceEnabled?boolean

Force mode: guide users without a passkey to register one (frontend guidance only — login is never blocked).

userVerification?string|null

Response Body

Realm Passkey configuration updated

application/json
  1. response
enabled*boolean
forceEnabled*boolean
message*string
updatedAt*string
Example Request
curl -X PUT 'https://example.com/api/realms/string/config/passkey' \
  -H 'Content-Type: application/json' \
  -d '{
  "enabled": true
}'
Example Response
{
  "enabled": true,
  "forceEnabled": true,
  "message": "string",
  "updatedAt": "string"
}