PearPear

Cancel a schedule

Cancel a schedule

PATCH
/schedules/{scheduleId}/cancel
x-api-key<token>

In: header

Path Parameters

scheduleId*string

Schedule identifier

Formatuuid

Header Parameters

X-Trade-Account-Id*string

UUID of the trade account the request acts on. Must belong to the authenticated user.

Formatuuid

Response Body

application/json

curl -X PATCH "https://example.com/schedules/3fa85f64-5717-4562-b3fc-2c963f66afa6/cancel" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6"
{  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"}