Get a custom hostname
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
hostnamestringRequired
The custom hostname, for example "docs.gitbook.com"
Responses
200
OK
application/json
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:
get/custom-hostnames/{hostname}
200
OK
Last updated
Was this helpful?