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-05-19 UTC."],[[["\u003cp\u003eThis API endpoint allows for the deletion of a Firestore database using a DELETE HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter, formatted as \u003ccode\u003eprojects/{projectId}/databases/{databaseId}\u003c/code\u003e, is required to specify which database to delete.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eetag\u003c/code\u003e query parameter can be provided to ensure the database's state hasn't changed, preventing deletion if there's a mismatch.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful operation will return an Operation instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a database requires authorization through either the \u003ccode\u003ehttps://www.googleapis.com/auth/datastore\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,[]]