Back to Changelog
External API
v1.0.11
Add named database create/delete endpoints to the external API
New Features
2- Added POST /v1/domains/{id}/databases to create a named database for a domain over the external API, mirroring the internal database service (identifier validation, plan quota checks, domain-prefixed naming, orphan-adoption rejection, CREATE DATABASE/USER/GRANT).
- Added DELETE /v1/domains/{id}/databases to remove a named database (drops the associated database user and config entry).
Bug Fix
1- Fixed a consistency gap where creating or deleting a domain database via the external API did not keep the legacy primary-database field in sync, which could break the create-database-then-create-user flow.