Update the subdomain name of a system domain. Only applies to system domains - use the add/delete endpoints to manage custom domains.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Load balancer identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Domain identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
New subdomain name for the system domain
1"my-lb"
Default Response
Unique identifier for the domain
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Domain name, either a custom domain or a system-assigned subdomain
"app.example.com"
Current verification and pointing status of the domain. VERIFICATION - domain ownership is being verified. POINTING - domain is verified but DNS is not yet pointing to the platform. ACTIVE - domain is fully configured and serving traffic. TIMED_OUT - verification or pointing timed out and needs to be refreshed.
"ACTIVE"
Domain type. SYSTEM - platform-assigned domain that can be toggled on/off. CUSTOM - user-added domain with custom DNS configuration.
"CUSTOM"
Whether the domain is currently enabled. Only applicable to system domains.
true
Whether this is a wildcard domain that matches all subdomains
false
Whether this domain is the primary domain for the service. The primary domain is used for canonical URLs.
true
DNS records that need to be configured for this domain. Null when DNS configuration is not required.
[
{
"type": "CNAME",
"name": "app.example.com",
"value": "cname.sevalla.com"
}
]Any errors encountered during domain verification or configuration
null
Timestamp when the domain was created, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2025-01-30T00:00:00.000Z"
Timestamp when the domain was last modified, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2025-01-30T00:00:00.000Z"