Herald
OpenapiRealms

Get custom-domain management state.

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

Authorization

bearer_auth
headerAuthorizationBearer <token>

Path Parameters

realmId*string

Realm ID

Response Body

Custom-domain configuration state

application/json
  1. response

Custom-domain management state shown on the realm admin config page.

cnameTarget*string

Herald-owned hostname tenants must CNAME their custom login domain to (global config, e.g. custom.herald.com).

published*

Current configuration (effective for host→realm resolution). hostname = null means the realm has no custom domain configured.

status?null|
Example Request
curl -X GET 'https://example.com/api/realms/string/config/custom-domain'
Example Response
{
  "cnameTarget": "string",
  "published": {
    "hostname": "string"
  },
  "status": null
}