Account
Domains

Update Account Domain

Update domain settings.

Entitlement Check: Domain must not be revoked.

post/account/domains/{domain_id}

Request

  • Base URL
    https://api.rebrandly.com/v1
  • URL
    https://api.rebrandly.com/v1/account/domains/{domain_id}
  • Auth
    API key in header apikey

Path parameters

domain_idstring required

Headers

apikeystring required

API key for authentication

Request body

autorenewboolean

Enable auto-renewal

httpsboolean

Enable HTTPS

routingobject

Routing configuration

Response

Domain updated

idstring required

Domain public ID (32 characters)

fullNamestring required

Full domain name

topLevelDomainstring

Top-level domain

type'USER' | 'SYSTEM'

Domain type (USER = custom, SYSTEM = rebrandly provided)

ownerIdstring

Owner account public ID

providerstring

Domain provider name

levelinteger

Domain hierarchy level (1 = root domain)

managedboolean

Whether domain is managed by Rebrandly

httpsboolean

Whether HTTPS is enabled

subdomainsinteger

Number of subdomains

nameserversstring[]

DNS nameservers

autorenewboolean

Whether auto-renewal is enabled

createdAtstring date-time
updatedAtstring date-time

Example response

{
  "fullName": "my-brand.ly",
  "topLevelDomain": "ly"
}

Changes

No recorded changes to this operation across all 1 revision of this API.