Cancel schedule

Disables a schedule and cancels all occurrences.

To use this endpoint from the browser, you’ll need to specify the /accounts/{your-account-id}/transfers.write scope when generating a token.

DELETE
/accounts/{accountID}/schedules/{scheduleID}
cURL Go
1
2
curl -X DELETE "https://api.moov.io/accounts/{accountID}/schedules/{scheduleID}"
  -H "Authorization: Bearer {token}" \
1
2
3
4
5
6
mc, _ := moov.NewClient()

var accountID string
var scheduleID string

mc.CancelSchedule(ctx, accountID, scheduleID)
204 429
Schedule deleted.
Request was refused due to rate limiting.

X-Retry-In

string <duration>
How long (in milliseconds) to wait until able to retry the request.

Path parameters

accountID

string <uuid> required
ID of the account.

scheduleID

string <uuid> required
ID of the schedule