Skip to main content
POST
Close a follow's copy positions

Authorizations

X-Monaco-Signature
string
header
required

Ed25519 session-key request signing. Every authenticated request carries three headers: X-Monaco-PublicKey (64-char lowercase-hex session public key), X-Monaco-Timestamp (Unix milliseconds, within 30s of server time), and X-Monaco-Signature (hex ed25519 signature). The signature is over METHOD\npath?query\ntimestamp_ms\nSHA256_hex(body), where the body hash is the SHA-256 of the empty byte string when there is no body. Obtain the session keypair from POST /api/v1/auth/challenge followed by POST /api/v1/auth/verify.

Path Parameters

followId
string
required

Response

OK

followId
string<uuid> | null

The follow's id

closeOrdersPlaced
integer<uint32> | null

Reduce-only, immediate-or-cancel close orders placed; each may fill in part

Example:

2

positionsNotClosed
integer<uint32> | null

Copy positions still open after the batch (for example a thin or halted market); 0 when the copy account is flat

Example:

0