Custom domains
Your company's own domains (such as portal.yourcompany.com) pointed at the workspace's portal. dns-status checks the required CNAMEs without changing anything; verify checks DNS and provisions the domain (certificate and CDN) once it is ready.
| Command | HTTP | Description |
|---|---|---|
portal-custom-domains list | GET /v1/portal_custom_domains | List custom domains |
portal-custom-domains create | POST /v1/portal_custom_domains | Add custom domain |
portal-custom-domains delete | DELETE /v1/portal_custom_domains/{id} | Delete custom domain |
portal-custom-domains dns-status | GET /v1/portal_custom_domains/{id}/dns_status | Check custom domain DNS |
portal-custom-domains verify | POST /v1/portal_custom_domains/{id}/verify | Verify and provision custom domain |
Examples
--params carries query, path and header parameters (id, page, filters, X-Workspace-Id); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.
# List custom domains
kobana dashboards portal-custom-domains list --fields "id,hostname,status"
# Add custom domain
kobana dashboards portal-custom-domains create \
--json '{"hostname": "portal.example.com"}'
# Check custom domain DNS
kobana dashboards portal-custom-domains dns-status \
--params '{"id": "DOMAIN_ID"}'
# Verify and provision custom domain
kobana dashboards portal-custom-domains verify --params '{"id": "DOMAIN_ID"}'
Next steps
- Portal settings
- Schema introspection — every parameter this resource accepts.