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
deletehttps://{service-endpoint}/v1/{name} Where{service-endpoint} is one of thesupported service endpoints.
Path parameters
namestringRequired. The name of the RagCorpus resource to be deleted. Format:projects/{project}/locations/{location}/ragCorpora/{ragCorpus}
Query parameters
forcebooleanOptional. 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.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance ofOperation.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.