Skip to main content
DELETE
/
api
/
users
/
{userId}
curl -X DELETE \
  -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/550e8400-e29b-41d4-a716-446655440000"
(empty response body)
This action is irreversible. Ensure any funds have been withdrawn before deleting a user.
curl -X DELETE \
  -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/550e8400-e29b-41d4-a716-446655440000"
(empty response body)

Before Deleting

1

Check positions

Use Get Positions to verify no open positions remain.
2

Cancel open orders

Use Cancel All Orders to close any pending orders.
3

Withdraw funds

Use Withdraw to transfer all funds to an external wallet.
4

Delete user

Call this endpoint to remove the user.

Authorizations

x-api-key
string
header
required

Path Parameters

userId
string
required

Unique identifier for the user

Response

204

User deleted successfully