Skip to main content
POST
Turn an account off (pause)

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Path Parameters

accountId
string
required

Body

application/json
reason
string

Why the account is turned off. Recorded on the closing orders, the audit trail and the webhook.

Maximum string length: 200
Example:

"No trades for 14 days"

Response

Success - Account is turned off

success
boolean
Example:

true

message
string
Example:

"Account turned off"

data
object