Skip to content
UNHEDGED / DOCS

Search documentation

Browse docs or start typing to find a topic

↑ ↓ to navigate Enter to open Esc to close

Documentation

Back to app

Update Trading Preferences

PATCH https://api.unhedged.gg/api/v1/users/me/preferences

Set automatic complete-set redemption in Account Settings or through this endpoint. Accepts login sessions and API keys with user:write. Saving the preference does not move cash or redeem shares. Final market settlement is unchanged.

Configure request

Request

Security · Bearer token

Send your API key in the Authorization header. Required scope user:write.

Rate limit · 60 req/min

Request body

autoBurn boolean
Required
Defaults to true. Redeems complete available sets for $1 each, excluding shares locked in orders. Set false to keep shares until sold or settled. Takes effect on a later eligible fill or ask unlock and does not reverse earlier burns.
Authorization
Bearer token Authorization: Bearer ak_your_key_here
Body application/json
curl -X PATCH https://api.unhedged.gg/api/v1/users/me/preferences \
  -H "Authorization: Bearer ak_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{ "autoBurn": false }'
Response
{ "autoBurn": false }