Custom hostnames
Serve your GitBook content from fully branded, custom hostnames.
Attributes
objectstring · enumRequiredPossible values:
hostnamestring · max: 512RequiredPattern:
Custom hostname for the site, for e.g. docs.mycompany.com
^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$targetone ofRequired
or
isActivebooleanRequired
statusone ofOptional
string · enumOptionalPossible values:
The CustomHostname object
{
"object": "custom-hostname",
"hostname": "text",
"target": {
"type": "organization",
"organization": "text"
},
"isActive": true,
"status": "text",
"urls": {
"location": "https://example.com"
}
}Last updated
Was this helpful?