Remove a suppression
DELETE
/v1/sites/{id}/a11y-suppressions/{suppressionId}
const url = 'https://api.overwatch.weareheavy.dev/v1/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/a11y-suppressions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};
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.overwatch.weareheavy.dev/v1/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/a11y-suppressions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'x-api-key: <x-api-key>'Remove a suppression (un-ignore). The findings it hid reappear in the report.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”id
required
string format: uuid
The site’s UUID.
suppressionId
required
string format: uuid
The suppression’s UUID.
Responses
Section titled “ Responses ”The suppression was removed.
Media typeapplication/json
object
deleted
required
boolean
Example
{ "deleted": true}Missing or invalid credentials.
Media typeapplication/json
object
error
required
A human-readable error message.
string
Example
{ "error": "invalid api key"}The site or suppression was not found.
Media typeapplication/json
object
error
required
A human-readable error message.
string
Example
{ "error": "suppression not found"}