Skip to main content
DELETE
/
v1
/
agents
/
{agent_id}
/
self-schedules
/
{schedule_id}
Cancel Self-Schedule
curl --request DELETE \
  --url https://api.xpander.ai/v1/agents/{agent_id}/self-schedules/{schedule_id} \
  --header 'x-api-key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}
Cancel a pending self-scheduled run before it fires.

Example Request

curl -X DELETE -H "x-api-key: <your-api-key>" \
  "https://api.xpander.ai/v1/agents/<agent-id>/self-schedules/<schedule-id>"

Example Response

{ "status": true }

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

agent_id
string
required
schedule_id
string
required

Response

Successful Response