Skip to content

deleteSnapshotsOfObjects

DeleteSnapshotsOfObjects deletes all the snapshots of the specified objects from the provided location IDs.

Arguments

Argument Type Description
input (required) DeleteSnapshotsOfObjectsInput! A list of object IDs and location IDs for the deletion.

Returns

Void

Sample

mutation DeleteSnapshotsOfObjects($input: DeleteSnapshotsOfObjectsInput!) {
  deleteSnapshotsOfObjects(input: $input)
}
{
  "input": {
    "locationIds": [
      "example-string"
    ],
    "objectIds": [
      "example-string"
    ]
  }
}
{
  "data": {
    "deleteSnapshotsOfObjects": "example-string"
  }
}