Custom Domains

Update a custom domain

put/projects/{project_id}/custom-domains/{domain_id}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/custom-domains/{domain_id}
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

domain_idinteger required

Custom domain ID

Request body

branchstring nullable
domainstring nullable
environment_idinteger nullable
redirect_tostring nullable
service_namestring nullable

Docker Compose service name this domain routes to (empty string clears it)

status_codeinteger nullable

Response

Custom domain updated successfully

branchstring nullable
created_atinteger required
domainstring required
domain_idinteger nullable
expiration_timeinteger nullable
idinteger required
last_renewedinteger nullable
messagestring nullable
project_idinteger required
redirect_tostring nullable
service_namestring nullable

Docker Compose service name this domain routes to

statusstring required
status_codeinteger nullable
updated_atinteger required

Changes

No recorded changes to this operation across all 50 revisions of this API.