Unlink custom domain

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Stops serving the domain, keeping it attached to the app.

Any email domain on it is disabled, and other domains redirecting to this one stop redirecting. The domain stays attached to the app and keeps its redirect target, so Link custom domain puts it back into service. To remove it altogether, use Delete custom domain.

A successful call doesn't guarantee the domain has stopped working. Base44 also has to remove it from the system that routes visitors to your app, and that step can fail without failing the call. Nothing in the response reports it, so check the domain in a browser, and unlink again if it still serves the app.

post/api/apps/{app_id}/custom-domains/{domain_id}/unlink

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/apps/{app_id}/custom-domains/{domain_id}/unlink
  • Auth: HTTP bearer

Path parameters

app_idstring required

ID of the app the domain belongs to.

domain_idstring required

ID of the custom domain. Get this from List custom domains.

Response

The domain is no longer served.

messagestring required

What happened, in plain text.

Example response

{
  "message": "Domain successfully unlinked"
}

Changes