Restore Default Template

URL:
https://<root>/notebooks/restoreDefaultTemplate
Methods:
POST
Required Capability:
Access allowed with either the "Create and edit notebooks", "Servers", or "Security and infrastructure" privileges
Version Introduced:
11.4

Description

The restoreDefaultTemplate operation restores the default notebook template, which is used when creating new notebooks, back to the original template that comes standard with ArcGIS Enterprise on Kubernetes. This operation can be invoked if the default template has been previously updated to use a custom template.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the restoreDefaultTemplate operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /context/admin/notebooks/restoreDefaultTemplate HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson&token=<token>

JSON Response example

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

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