Delete all snapshots (volume)
DELETE /account/{accountId}/providers/cloudmanager_cbs/api/v1/backup/working-environment/{workingEnvironmentId}/volume/{volumeId}/snapshot
Deletes all the snapshots for a specified volume backed up by using the NetApp Backup and Recovery service for a system.
Token usage: NetApp Console user token.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
force |
boolean |
query |
False |
If set to true, all the metadata for the snapshots is cleaned from the database. Check if the snapshots are in the object store and then clean them. |
remove-object-store-config |
boolean |
query |
False |
If set to true, the object store configuration that is not being used by any volume is cleaned up from the system. |
accountId |
string |
path |
True |
Account ID |
workingEnvironmentId |
string |
path |
True |
System ID |
volumeId |
string |
path |
True |
File system or volume ID |
authorization |
string |
header |
True |
User token |
X-Agent-Id |
string |
header |
True |
Request identifier |
Response
Status: 202, Default response
| Name | Type | Required | Description |
|---|---|---|---|
job-id |
string |
False |
Example response
{
"job-id": "string"
}