---
title: "Cancel schedule"
method: DELETE
path: "/v1/accounts/{accountId}/schedules/{scheduleId}"
tags: ["Schedules"]
---

# Cancel schedule

`DELETE /v1/accounts/{accountId}/schedules/{scheduleId}`

## Request

- Base URL: `https://sandbox.pismolabs.io/passport`
- URL: `https://sandbox.pismolabs.io/passport/v1/accounts/{accountId}/schedules/{scheduleId}`
- Auth: none declared

Cancel account schedule by schedule ID.

This endpoint generates the [Scheduled payment created or modified](https://developers.pismo.io/events/docs/scheduler-payments-scheduled-payments-1) event with the `status` field set to `CANCELED`.

## Response `200`

Request was processed successfully.

## Other responses

- `400`: Bad request
- `403`: The request has been lost
- `404`: Not Found
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-authentication.md) - [All operations](https://skmtc.dev/pismo/apis/platform-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-authentication/revisions/935b62e16de4?raw)
