Reset Auto Liq Status
Reset an account’s auto-liquidation status on Demo.
Available to: Organization administrators (accounts in their organization)
Environments: Demo
Rate Limit: No endpoint-specific limit
Reset an account’s risk status and recalculate it. Pass the accountId. The response returns accountRiskStatus as it stands right after the reset, before maxNetLiq and minNetLiq are recalculated.
Resetting clears every risk-status field except maxNetLiq and its timestamp. That includes any admin action on the account (such as a lock), auto-liquidation counters and timestamps, the approval deadline, the stepped-drawdown cooldown state, and the account’s notes. Right after the reset, minNetLiq is set to the account’s current net liquidation value plus its evaluationSize (if it has one), and maxNetLiq to the higher of its existing value and that figure. Both timestamps update.
Common Failure Scenarios
- The request is sent to Live. This returns
HTTP 401with"Access is denied", notHTTP 501. - The caller isn’t an organization administrator. This returns
HTTP 401with"mustBeOrganizationAdmin". - No account matches
accountId, or the caller can’t access it. Both returnHTTP 404with an empty body. - The caller’s user type, or the API key’s permissions, don’t include full access to the
Risksresource. This returnsHTTP 401with"Access is denied". accountIdisn’t greater than 0. This returnsHTTP 400.
Error Messages
Related Endpoints
- Use
setAccountNotesto add notes back after a reset.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Response
Non-empty if the request failed