Vertex AI is transitioning to become part of Gemini Enterprise Agent Platform. See the most up-to-date information in the Agent Platform documentation
.
Send feedback
Method: ragCorpora.delete Stay organized with collections
Save and categorize content based on your preferences.
Full name : projects.locations.ragCorpora.delete
Deletes a RagCorpus.
Endpoint
delete
https:
/
/{service-endpoint}
/v1beta1
/{name}
Where {service-endpoint}
is one of the supported service endpoints
.
Path parameters
name
string
Required. The name of the RagCorpus resource to be deleted. Format: projects/{project}/locations/{location}/ragCorpora/{ragCorpus}
Query parameters
force
boolean
Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles.
forceDelete
boolean
Optional. If set to true, any errors generated by external vector database during the deletion will be ignored. The default value is false.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation
.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-29 UTC.
Need to tell us more?
[[["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 2026-01-29 UTC."],[],[]]