Liquidations
Create account liquidation request
Initiates a full liquidation of an investment account, placing sell orders for all held positions and converting the proceeds to cash.
Exactly one of user_id or business_id must be provided in the request body.
See the Liquidations guide (TOL / BYOL) for implementation details.
post/accounts/{account_id}/liquidations
Request
- Base URL: https://sandbox.upvest.co
- URL: https://sandbox.upvest.co/accounts/{account_id}/liquidations
- Auth: OAuth 2 (client credentials, token URL https://sandbox.upvest.co/auth/token, scopes: account_liquidations:admin)
Headers
idempotency-keystring uuid required
Example:ccb07f42-4104-44ad-8e1f-c660bb7b269c
A UUID to be used as an idempotency key. This prevents a duplicate request from being replayed. https://docs.upvest.co/documentation/concepts/api_concepts/idempotency
Request body
Response
Account liquidation object
Changes
No recorded changes to this operation across all 25 revisions of this API.