MailMoo
EndpointsCRM

Delete a task

Removes a task entirely. Only the task's creator may delete it. To record that a task was finished or abandoned, set its status instead: deleting loses the history.

POST/leadActivities.taskDelete

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your MailMoo API key (format: sk_live_...)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/leadActivities.taskDelete" \  -H "Content-Type: application/json" \  -d '{    "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5"  }'
{  "success": true,  "leadId": "string",  "property1": null,  "property2": null}