PearPear

Cancel a ladder

Cancel all active child rungs and mark the ladder as cancelled.

POST
/ladders/{ladderId}/cancel
x-api-key<token>

In: header

Path Parameters

ladderId*string

Ladder 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 POST "https://example.com/ladders/3fa85f64-5717-4562-b3fc-2c963f66afa6/cancel" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6"
{  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"}