Update a domain registration
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Turns automatic renewal on or off for a domain bought through Base44 for the app. Pass the domain's domain_id from List domain registrations.
With automatic renewal off, the domain lapses when its current period ends, at the expires_at that List domain registrations reports. Turning it back on renews the domain at that point, charged to the payment method on the domain's subscription. The workspace's billing page lists that subscription.
A successful call returns no body. It means the registrar accepted the change. List domain registrations can take a short while to show it, so read it again rather than relying on the first read.
If the registrar can't be reached, the change may not have been made. Read the registration before you retry.
Only a workspace owner can change a registration, because renewal is managed for the whole workspace. Domains you own elsewhere can't be changed here. Their renewal lives with your own registrar.
Request
- Base URL: https://app.base44.com
- URL: https://app.base44.com/api/apps/{app_id}/custom-domains/{domain_id}/registration
- Auth: HTTP bearer
Path parameters
ID of the app the domain belongs to.
ID of the custom domain. Get this from List custom domains.
Request body
Response
The registrar accepted the change.
Changes
- info
endpoint added
- info