[[["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-06-02 UTC."],[[["\u003cp\u003eThis API endpoint allows for the deletion of a specified document within a Firestore database.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDELETE\u003c/code\u003e request uses a URL path parameter \u003ccode\u003ename\u003c/code\u003e to identify the document to be deleted, following a specific format \u003ccode\u003eprojects/{projectId}/databases/{databaseId}/documents/{document_path}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional precondition can be set using the \u003ccode\u003ecurrentDocument\u003c/code\u003e query parameter, and the deletion will only proceed if the precondition is met.\u003c/p\u003e\n"],["\u003cp\u003eA successful document deletion returns an empty JSON object as the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires 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 scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.databases.documents.delete\n\nDeletes a document.\n\n### HTTP request\n\n`DELETE https://firestore.googleapis.com/v1beta1/{name=projects/*/databases/*/documents/*/**}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/datastore`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]