Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.
[[["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-13 UTC."],[[["\u003cp\u003eThis webpage details how to delete a file and its content from a generic repository using an HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe file to be deleted is specified using a required \u003ccode\u003ename\u003c/code\u003e path parameter, which also necessitates the \u003ccode\u003eartifactregistry.files.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request body must be empty, and successful operations return an instance of \u003ccode\u003eOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a file requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request utilizes gRPC Transcoding syntax, and available locations to be chosen are provided.\u003c/p\u003e\n"]]],[],null,[]]