Skip to content

Remove a site's notification override

DELETE
/v1/sites/{id}/notifications
curl --request DELETE \
--url https://api.overwatch.weareheavy.dev/v1/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/notifications \
--header 'Authorization: Bearer <token>'

Drop the site’s override so it reverts to the org defaults. Session-only, owner/admin.

id
required
string format: uuid

The site’s UUID.

Whether an override existed and was removed.

Media typeapplication/json
object
deleted
required
boolean
Examplegenerated
{
"deleted": true
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required

A human-readable error message.

string
Example
{
"error": "invalid api key"
}

A dashboard session is required (API-key callers are rejected), or the session’s role does not allow this action.

Media typeapplication/json
object
error
required

A human-readable error message.

string
Example
{
"error": "a dashboard session is required"
}

No site with that id is visible to the caller.

Media typeapplication/json
object
error
required

A human-readable error message.

string
Example
{
"error": "site not found"
}