Required. A name of the form projects/{projectId}/databases/{databaseId}
Query parameters
Parameters
etag
string
The current etag of the Database. If an etag is provided and does not match the current etag of the database, deletion will be blocked and a FAILED_PRECONDITION error will be returned.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[[["This API endpoint allows for the deletion of a Firestore database using a DELETE HTTP request."],["The `name` path parameter, formatted as `projects/{projectId}/databases/{databaseId}`, is required to specify which database to delete."],["An optional `etag` query parameter can be provided to ensure the database's state hasn't changed, preventing deletion if there's a mismatch."],["The request body must be empty, and a successful operation will return an Operation instance in the response body."],["Deleting a database requires authorization through either the `https://www.googleapis.com/auth/datastore` or `https://www.googleapis.com/auth/cloud-platform` OAuth scopes."]]],[]]