Delete template
curl --request DELETE \
--url https://api.compute.anonalabs.com/templates/{templateID} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/templates/{templateID}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/templates/{templateID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}templates
Delete template
Delete a template
Anona: sandboxes already running from the template keep running; new creates no longer resolve its name.
DELETE
/
templates
/
{templateID}
Delete template
curl --request DELETE \
--url https://api.compute.anonalabs.com/templates/{templateID} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/templates/{templateID}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/templates/{templateID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}