Exit Special Key Mode (TRADE)
Description
Exit the Margin Special Key mode for Cross Margin Classic accounts.
All outstanding liabilities under the Cross Margin Classic account must be fully repaid before calling this endpoint. Deleting the Margin Special Key alone does not constitute a valid exit.
When a user creates a Margin Special API Key, the account enters "Special Key Mode". Upon a successful request, the following actions will be performed atomically:
- All existing Margin Special API Keys under the Cross Margin Classic mode account will be deleted.
- All pre-execution margin checks (including Open-order-loss calculation) will revert to standard mode.
- A cooldown period (default: 24 hours) will be enforced, during which the account will not be permitted to create new Margin Special API Keys.
HTTP Request
POST /sapi/v1/margin/exit-special-key-mode
Request Weight
10(UID)
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| recvWindow | LONG | NO | The value cannot be greater than 60000 |
| timestamp | LONG | YES |
Preconditions
The following conditions must be met; otherwise the request will be rejected:
- Account type must be Cross Margin Classic.
- Account must currently be in Special Key Mode. If not, the request silently succeeds.
- Account must not be in liquidation.
- Account must have no liability.
Response Example
{}