DELETE task

DELETE /accounts/{id}/alerts/{alert_id}/mentions/{mention_id}/tasks/{task_id}

This method is used to delete a task, and remove it from the list of all tasks of the mention. It is different from marking a task as done.

Parameters

  • account_id (string) - Id of the account
  • alert_id (number) - Id of the alert
  • mention_id (number) - Id of the mention
  • task_id (number) - Id of the task

Page content


Minimal curl example

curl -ig 'https://api.mention.net/api/accounts/{id}/alerts/{alert_id}/mentions/{mention_id}/tasks/{task_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