Delete User Account Position Limit
Delete a position limit from a user account.
Available to: All authenticated users
Environments: Demo, Live
Rate Limit: No endpoint-specific limit
Removes the UserAccountPositionLimit identified by userAccountPositionLimitId, the single required field in the request body. Because risk parameters are children of a position limit, deleting the limit removes the pre-trade rule it defines for the account. To delete an individual child constraint without removing the whole limit, use deleteUserAccountRiskParameter instead.
To find the userAccountPositionLimitId to delete, call userAccountPositionLimit/deps for the account.
The endpoint returns a DeleteResultResponse with a success boolean and an errorText field that is non-empty only when the request fails. A failed deletion does not change the account's risk configuration.
Common Failure Scenarios
- userAccountPositionLimitId is missing.
- The referenced position limit does not exist or is not visible to the calling user.
Error Messages
| errorText | Trigger |
|---|---|
| Non-empty errorText | The request failed; the field describes the reason. |
Request
- Base URL: https://demo.tradovateapi.com/v1
- URL: https://demo.tradovateapi.com/v1/userAccountPositionLimit/deleteuseraccountpositionlimit
- Auth: HTTP bearer
Request body
Response
DeleteResultResponse
Changes
No recorded changes to this operation across all 1 revision of this API.