Delete snapshot repository
Deletes the snapshot repository configuration.
Path parameters
-
The name of the snapshot repository configuration.
Query parameters
-
cleanup_deployments boolean
Removes references to this snapshot repository configuration and disables snapshots on the clusters that were referencing this configuration. If a request is made to delete a repository configuration that has already been deleted and this parameter is set to true and clusters still reference the configuration, then the request will have the side effects of removing references and disabling snapshots for clusters that reference the previously deleted configuration.
Default value is
false
.
DELETE
/platform/configuration/snapshots/repositories/{repository_name}
curl \
-X DELETE https://{{hostname}}/api/v1/platform/configuration/snapshots/repositories/{repository_name}
Response examples (200)
{}
Response examples (202)
{}
Response examples (500)
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}