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

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

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

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

1
2
3
{
  "status": "success|failure"
}

JSON Response example

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close