Consult REPO.md to figure out the repository structure.
Then:
- add a delete method to the IndexResource
- add unit tests for the new method (existing unit tests for index resource)
- add integration tests (existing integration tests for index resource)
- do NOT add corresponding tools
Here is how we delete an index:
Request URL
https://api.cloud.deepset.ai/api/v1/workspaces/test-workspace/indexes/Standard-Index-English-2
Request Method
DELETE
Status Code
204 No Content
Consult REPO.md to figure out the repository structure.
Then:
Here is how we delete an index:
Request URL
https://api.cloud.deepset.ai/api/v1/workspaces/test-workspace/indexes/Standard-Index-English-2
Request Method
DELETE
Status Code
204 No Content