A repository in OpenSearch is simply a configuration that maps a repository name to a type (file system or s3 repository) along with other information depending on the type. The configuration is backed by a file system location or an s3 bucket. When you invoke the API, the physical file system or s3 bucket itself is not deleted. Only the configuration is deleted.
Sample request
The following request deletes the repository:
Sample response
To verify that the repository was deleted, use the API, passing the repository name as the path parameter.