Delete a sub-user
Deletes a sub-user and its related records. No history is lost: orders and delegations are reassigned to the parent account, then the sub-user's own records are removed — API key, settings, referral data, deposit address — and a deletion record is stored for auditing. Everything runs in one transaction: all of it, or nothing.
Only sub-users can be deleted, and only your own: real accounts are not deletable through this method, and an attempt to delete someone else's sub-user is rejected with 403.
Authorizations
API key from the dashboard. Some Host Mode endpoints also accept the key as an api_key field in the request body — this is stated in the schema of the particular operation.
Parameters
Header Parameters
An IP address from the key's whitelist. A request from an address outside the whitelist is rejected with 401.
"203.0.113.10""ipv4"Path Parameters
1234Responses
The sub-user was deleted and its history reassigned to the parent.