Delete User Account Risk Parameter
Delete a risk parameter from a position limit.
Available to: All authenticated users
Environments: Demo, Live
Rate Limit: No endpoint-specific limit
Removes the UserAccountRiskParameter identified by userAccountRiskParameterId, the single required field in the request body. A risk parameter is a child constraint of a UserAccountPositionLimit, so deleting it removes one pre-trade rule while leaving the parent position limit and its other parameters in place. To remove the entire position limit instead, use deleteUserAccountPositionLimit.
To find the userAccountRiskParameterId to delete, list the parameters of a position limit with userAccountRiskParameter/deps.
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
- userAccountRiskParameterId is missing.
- The referenced risk parameter 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/deleteuseraccountriskparameter
- Auth: HTTP bearer
Request body
Response
DeleteResultResponse
Changes
No recorded changes to this operation across all 1 revision of this API.