Delete a value of a sandbox's own state
curl --request DELETE \
--url https://api.styne.ai/sandboxes/{id}/state/{key} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/sandboxes/{id}/state/{key}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/sandboxes/{id}/state/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Delete a value of a sandbox's own state
DELETE
/
sandboxes
/
{id}
/
state
/
{key}
Delete a value of a sandbox's own state
curl --request DELETE \
--url https://api.styne.ai/sandboxes/{id}/state/{key} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/sandboxes/{id}/state/{key}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/sandboxes/{id}/state/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Authorizations
Response
Success. The answer is described on https://docs.styne.ai/state.