Disables a DatabaseInstance
. The database can be re-enabled later using instances.reenable
. When a database is disabled, all reads and writes are denied, including view access in the Firebase console.
HTTP request
POST https://firebasedatabase.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}:disable
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The fully qualified resource name of the database instance, in the form: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DatabaseInstance
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
For more information, see the Authentication Overview.