Skip to main content
POST
POST /api/v2/perp/position/close — Close a position

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <jwt> for user auth or Authorization: Bearer sk_{keyId}_{secret} for API key auth.

Body

application/json
coin
string
required
walletId
string
required
percentage
integer<int32> | null
Required range: x >= 0

Response

Close result

V2 success response envelope

data
object
required
requestId
string
required
pagination
object | null

Page-based pagination info (per RFC)