Delete Snapshot

URL:
https://<notebookserveradmin>/notebooks/snapshots/delete
Methods:
POST
Required Capability:
Administrator or Create and Edit
Version Introduced:
10.9

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

Use dark colors for code blocksCopy
1
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

Use dark colors for code blocksCopy
1
2
3
https://notebookserver.domain.com:11443/arcgis/admin/notebooks/snapshots/delete?f=json
&itemId=5dbacb22922d4ead9b8b065f3ea448b8
&resourceKeys=snapshot-b9f96a5a0f1943ec8346ab4e988942ef.json

Example usage for deleting multiple snapshots

Use dark colors for code blocksCopy
1
2
3
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

Use dark colors for code blocksCopy
1
2
3
{
  "status": "success|failure"
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
{
  "status": "success"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.