PearPear

Cancel a trigger

Cancel a trigger

PATCH
/triggers/{triggerId}/cancel
x-api-key<token>

In: header

Path Parameters

triggerId*string

Trigger 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/triggers/3fa85f64-5717-4562-b3fc-2c963f66afa6/cancel" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6"
{  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"}