Method: projects.instances.databases.dropDatabase

Drops (aka deletes) a Cloud Spanner database.

HTTP request

DELETE https://spanner.googleapis.com/v1/{database=projects/*/instances/*/databases/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
database

string

Required. The database to be dropped.

Authorization requires the following Google IAM permission on the specified resource database:

  • spanner.databases.drop

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/spanner.admin
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

Оцените, насколько информация на этой странице была вам полезна:

Оставить отзыв о...

Текущей странице
Cloud Spanner Documentation