Delete a sandbox
Stops a sandbox if it is running and deletes it with its disks. Nothing of it is kept. Its luna’s next request of it makes a new one.
DELETE
/_luna/tenants/{tenant}/sandboxes/{type}/{name}Authorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Scopes:
data:writePath parameters
tenantstringrequiredThe tenant, by its name.
typestringrequiredThe type of the luna that has the sandbox.
namestringrequiredThe sandbox's name, as its luna's code named it.
Query parameters
keystringrequiredThe luna's key: JSON, or the value of the one field of a type keyed by one.
Responses
200
Deleted.
object404
The luna has no sandbox of that name.
default
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.