Remove a status page shared password
DELETE
/status-pages/{id}/shared-password
const url = 'https://api.perstat.io/status-pages/example/shared-password';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/shared-password \ --header 'Authorization: Bearer <token>'Disables shared password access for a status page, clears the stored credential, and invalidates all existing shared access sessions immediately. Accepts API keys with the status-pages:write scope, subject to current role and resource grants.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Request succeeded. The response has no body.
Authentication is missing or invalid.
The authenticated caller does not have permission to perform this operation.
No accessible resource matches the supplied identifier.