Domains
Add a custom domain (optionally redirecting to another), or a wildcard domain such as *.example.com (docs/PLATFORM_API.md "Wildcard domains"; not_configured while free certificates are off); returns the DNS records, including the ownership TXT record
post/projects/{projectId}/domains
Request
- Base URL: https://hostingsurge.com/api/v1
- URL: https://hostingsurge.com/api/v1/projects/{projectId}/domains
- Auth: one of:
- HTTP bearer
- API key in cookie __Host-hs_session
Path parameters
projectIdstring uuid required
Example:3f2b8a4e-5c1d-4e8f-9a7b-2c6d1e0f4a5b
Request body
Response
Added (verification attempted)
Changes
No recorded changes to this operation across all 1 revision of this API.