Skip to main content
DELETE
/
api
/
social
/
v4
/
alerts
/
{alertId}
JavaScript
async function deleteAlert(alertId) {  const url = `/api/social/v4/alerts/${alertId}`;  const response = await fetch(url, {    method: 'DELETE',  });  return await response.json();}
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

alertId
integer
required

The alertId

Response

200 - application/json

Returns the parameter of success or error based on the alert id being valid.

The response is of type object.