Herald
OpenapiRealms

Update custom-domain configuration (writes the host→realm mapping).

PUT
/api/realms/{realmId}/config/custom-domain

Authorization

bearer_auth
headerAuthorizationBearer <token>

Path Parameters

realmId*string

Realm ID

Request Body

application/json
  1. body

Request body for updating custom-domain configuration.

hostname?|

Precise custom login hostname (e.g. login.acme.com). null/empty clears the configured hostname.

Response Body

Custom-domain configuration updated

application/json
  1. response

Response shape returned by the custom-domain update operation.

message*string
status?null|
Example Request
curl -X PUT 'https://example.com/api/realms/string/config/custom-domain' \
  -H 'Content-Type: application/json' \
  -d '{}'
Example Response
{
  "message": "string",
  "status": null
}