delete schedule by its id
DELETE
https://api.wexa.ai/schedule/coworker/{id}
Last modified:2025-04-26 08:13:29
Delete a Scheduled Task for an AI Coworker
id
. This operation removes the scheduled task from the system, preventing it from executing in the future.Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request DELETE 'https://api.wexa.ai/schedule/coworker/?projectID={{projectID}}' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
"conclusion": null,
"count": 0,
"coworker_id": "68067c49c517ff5238533ccf",
"created_at": 1745304661.470976,
"created_by": "67fdea40aac77be632954f0e",
"frequency": null,
"goal": {
"display_template": "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"get details about abdul kalam\"}]}]",
"template": "get details about abdul kalam"
},
"_id": "68073c55ff5c4953f01709bf",
"last_coworker_execution_id": null,
"last_record_id": null,
"limit": null,
"projectID": "67fdea40aac77be632954f13",
"schedule": 1745391209.188,
"status": "active",
"table": null,
"type": "once",
"updated_at": null,
"task_id": "68073c55ff5c4953f01709bd"
}
Request
Path Params
id
string
required
Query Params
projectID
string
required
Example:
{{projectID}}
Header Params
x-api-key
string
required
Example:
{{x-api-key}}
Responses
Modified at 2025-04-26 08:13:29