Archive a status page
DELETE
/status-pages/{id}
const url = 'https://api.perstat.io/status-pages/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.perstat.io/status-pages/example \ --header 'Authorization: Bearer <token>'Takes the status page offline immediately and moves it to the archive, from which it can be restored for 90 days. This is not a hard delete. Requires a project management role and responds 204 on success.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string