Deletes an existing index. An index can only be deleted if it is in a READY or ERROR state. On successful execution of the request, the index will be in a DELETINGstate. And on completion of the returned google.longrunning.Operation, the index will be removed.
During index deletion, the process could result in an error, in which case the index will move to the ERROR state. The process can be recovered by fixing the data that caused the error, followed by calling delete again.
[[["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 2024-07-09 UTC."],[[["This webpage details the process of deleting an existing index, which can only occur if the index is in a `READY` or `ERROR` state."],["The `DELETE` request is made to the specified URL, using the project ID and index ID as path parameters to identify the index that should be deleted."],["A successful request will transition the index to a `DELETING` state, and once the operation is complete, the index will be completely removed, with the response body containing an `Operation` instance."],["The request body should remain empty, and specific OAuth scopes are required for authorization, including either `https://www.googleapis.com/auth/datastore` or `https://www.googleapis.com/auth/cloud-platform`."]]],[]]