Disable email sending for a domain
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Turns off email sending for a domain.
The domain itself stays connected to the app and keeps serving the site. Only the ability to send mail from it goes away, and mail falls back to Base44's own sending address.
Base44 also tries to remove the domain from the mail provider, but a 200 does not promise that part succeeded: if the provider cannot be reached the local configuration is still removed and the call still succeeds.
This is not reversible: turning the domain back on means running Enable email sending for a domain again, publishing DNS records again, and waiting for verification again.
Send domain when the app has more than one. The response body is empty, so read the status code.
<Note>This endpoint accepts a personal API key. Workspace API keys are not authorized for it and are rejected with a 403.</Note>
Path parameters
ID of the app whose email domains you want to work with.
ID of the app whose email domains you want to work with.
Query parameters
Domain to delete. Required when multiple domains exist.
Domain to delete. Required when multiple domains exist.
Response
Email sending is off for this domain. The body is empty.
Response for deleting email domain.
Changes
Changed in 2 of the 11 revisions of this API.2
- ○
removed the non-success response with the status
422response-non-success-status-removed
- ○
- ○
endpoint added
endpoint-added
- ○