[[["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-08-21 UTC."],[],[],null,["# Method: ragFiles.delete\n\n**Full name**: projects.locations.ragCorpora.ragFiles.delete\n\nDeletes a RagFile. \n\n### Endpoint\n\ndelete `https:``/``/{service-endpoint}``/v1beta1``/{name}` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`name` `string` \nRequired. The name of the RagFile resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}/ragFiles/{ragFile}`\n\n### Query parameters\n\n`forceDelete` `boolean` \nOptional. If set to true, any errors generated by external vector database during the deletion will be ignored. The default value is false.\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/vertex-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation)."]]