Kill an app's process
curl --request POST \
--url https://api.storiza.store/apps/{id}/lifecycle/kill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signal": "SIGKILL"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({signal: 'SIGKILL'})
};
fetch('https://api.storiza.store/apps/{id}/lifecycle/kill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/lifecycle/kill"
payload = { "signal": "SIGKILL" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Done",
"data": {}
}App lifecycle & console
Kill an app's process
Sends a signal to the container and leaves it in place so it can be inspected afterwards. This is not a state change: the app is still RUNNING as far as its desired state is concerned, and the container still exists. Use stop to remove it.
Required API key permission: apps:write
POST
/
apps
/
{id}
/
lifecycle
/
kill
Kill an app's process
curl --request POST \
--url https://api.storiza.store/apps/{id}/lifecycle/kill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signal": "SIGKILL"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({signal: 'SIGKILL'})
};
fetch('https://api.storiza.store/apps/{id}/lifecycle/kill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/lifecycle/kill"
payload = { "signal": "SIGKILL" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Done",
"data": {}
}Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Path Parameters
Minimum string length:
1Body
application/json
Signal to send, e.g. SIGTERM. Defaults to SIGKILL.
Maximum string length:
20Was this page helpful?