Skip to content
Install

Disable public exposure for a database

DELETE
/databases/{id}/public
curl --request DELETE \
--url https://example.com/databases/example/public \
--header 'Authorization: Bearer <token>'

Auth: authenticated (scope: deploy)

id
required
string

OK

Media typeapplication/json
object
enabled
required
boolean
key
additional properties

Example generated

{
"enabled": true
}