Skip To Content

Delete Snapshot

Description

The Delete Snapshot operation allows the owner of a notebook to delete one or more snapshots associated with that notebook item.

Request parameters

ParameterDetails
itemId

(Required)

The item id of the notebook from which to delete a snapshot.

resourceKeys

(Required)

A comma-separated list of resource keys of snapshots to delete.

Example

snapshot-resourcekey1,snapshot-resourcekey2,snapshot-resourcekey3
f

The response format. The default response format is html.

Values: html | json | pjson

Example usage for deleting a single snapshot


https://notebookserver.domain.com:11443/arcgis/admin/notebooks/snapshots/delete?f=json
&itemId=5dbacb22922d4ead9b8b065f3ea448b8
&resourceKeys=snapshot-b9f96a5a0f1943ec8346ab4e988942ef.json

Example usage for deleting multiple snapshots


https://notebookserver.domain.com:11443/arcgis/admin/notebooks/snapshots/delete?f=json
&itemId=5dbacb22922d4ead9b8b065f3ea448b8
&resourceKeys=snapshot-72c0d3e1ab70440183f11c11e00afb8b.json,snapshot-788efb956d494f1cac2cb9e526255425.json,snapshot-62c03cdfc00f4f7c9c94a0e4af9a0458.json,snapshot-57f39b6a6e13477eaa2c130ff232926b.json,snapshot-05cd1ec64137421f8c2ac975236bf29a.json

JSON Response syntax


{
  "status": "success|failure"
}

JSON Response example


{
  "status": "success"
}