Restart all services for an app
POST
/apps/{slug}/restart
const url = 'https://your-server.example/api/apps/example/restart';const options = {method: 'POST', headers: {cookie: 'session=<session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-server.example/api/apps/example/restart \ --cookie session=<session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
App slug (lowercase, dash-separated).
Responses
Section titled “Responses”Restart accepted.
Resource not found.
Media typetext/plain
string