user

Patch preferences with a durable receipt

Changed on
post/v1/users/me/preferences/commands

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/users/me/preferences/commands
  • Auth
    HTTP bearer

Request body

operationIdstring uuid required

Persist this UUID and input before transport. Retry the same pair after an unknown outcome. A new intent needs a new UUID.

expectedUserIdstring uuid required

The Legend account UUID, not the Privy account ID.

Response

Successful response

operationIdstring uuid required
status'succeeded' | 'rejected' required

Changes

    • info

      the response's property default value changed from {"position":true,"liquidation":true,"orders":true,"fills":false} to {"position":true,"liquidation":true,"orders":true,"fills":true} for the status

    • breaking

      the ////// response's property type changed from string to no type for status

    • info

      added the new de enum value to the request property /

    • info

      added the new es enum value to the request property /

    • info

      added subschema #1 subschema #2 to the ////// response property anyOf list for the response status

    • info

      removed the en enum value from the ////// response property for the response status

    • info

      removed the fr enum value from the ////// response property for the response status

    • info

      removed the ja enum value from the ////// response property for the response status

    • info

      removed the ko enum value from the ////// response property for the response status

    • info

      removed the th enum value from the ////// response property for the response status

    • info

      removed the zh-CN enum value from the ////// response property for the response status