Connect a custom domain to a workspace

Workspace owner only, within the workspace plan limit. With projectId the domain serves that project once its _acme-challenge CNAME is verified and its certificate is issued; without it the domain waits in the workspace and serves nothing.

post/account/domains

Request

  • Base URL: https://api.eurobase.dev
  • URL: https://api.eurobase.dev/account/domains
  • Auth: none declared

Request body

organizationIdstring required
hostnamestring required
projectIdstring nullable

The project the domain serves; omitted or null to add it unlinked

Example request

{
  "hostname": "example.com"
}

Response

Domain connected, waiting for its DNS records

Changes

No recorded changes to this operation across all 1 revision of this API.