DELETE share
DELETE /accounts/{id}/alerts/{alert_id}/shares/{share_id}
This method is used to delete the share object that represents the link between an account and an alert.
You need to be team admin to perform such a deletion on someone else's account. When all shares on an alert are deleted, the alert itself gets deleted.
Parameters
account_id
(string) - Id of the accountalert_id
(number) - Id of the alertshare_id
(number) - Id of the share
Page content
Minimal curl example
curl -ig 'https://api.mention.net/api/accounts/{id}/alerts/{alert_id}/shares/{share_id}' \
-X DELETE \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Accept-Version: 1.19'
Request example
- Headers
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept-Version: 1.19
Response example
- Body
true