- URL:
- https://<root>/notebooks/updateDefaultTemplate
- 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 update
operation allows the default notebook template that is provided with ArcGIS Notebook Server to be updated and changed to a new, custom template.
Request parameters
Parameter | Details |
---|---|
| The new custom notebook file that will replace the default template. All template files must be saved in the JSON IPYNB format. |
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the update
operation:
POST /context/admin/notebooks/updateDefaultTemplate HTTP/1.1
Host: organization.domain.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryyR8RvMCXwbfEssVF
Content-Length: []
------WebKitFormBoundaryyR8RvMCXwbfEssVF
Content-Disposition: form-data; name="defaultNotebook"; filename="a9ce0a888c2e45a79a888e28b1ef2cab.ipynb"
Content-Type: application/octet-stream
------WebKitFormBoundaryyR8RvMCXwbfEssVF
Content-Disposition: form-data; name="f"
pjson
JSON Response example
{
"status": "success"
}