For the complete documentation index, see llms.txt. This page is also available as Markdown.

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: 512Required

Custom hostname for the site, for e.g. docs.mycompany.com

Pattern: ^([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?

Powered by GitBook