Subdomains
Manage and configure organization-specific subdomains for your docs.
Was this helpful?
Manage and configure organization-specific subdomains for your docs.
Was this helpful?
Was this helpful?
Provide a branded subdomain for each organization to create a consistent user experience. This API supports subdomain creation, DNS checks, and more.
{
"object": "subdomain",
"subdomain": "text",
"target": {
"type": "organization",
"organization": "text"
},
"isActive": true
}
GET /v1/subdomains/{subdomain} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "subdomain",
"subdomain": "text",
"target": {
"type": "organization",
"organization": "text"
},
"isActive": true
}