Skip to main content

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 will be cleaned from the database. Please check if the snapshots are in the object store and then clean them.

  • Default value:

remove-object-store-config

boolean

query

False

If set to true, the object store configuration that is not being used by any volume will be cleaned up from the system.

  • Default value:

accountId

string

path

True

Account ID

workingEnvironmentId

string

path

True

System ID

volumeId

string

path

True

File system ID/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"
}