Method: projects.locations.instances.reenable

Enables a DatabaseInstance. The database must have been disabled previously using instances.disable. The state of a successfully reenabled DatabaseInstance is ACTIVE.

HTTP request

POST https://firebasedatabase.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}:reenable

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}

Authorization requires the following IAM permission on the specified resource name:

  • firebasedatabase.instances.reenable

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.