Update an agent
PATCH/agent/:agent_id/
Update an agent. The agent's details can be updated using this endpoint. The agent's ID should be provided in the path parameter and the details to be updated should be provided in the request body. The agent's ID cannot be updated. Every field is optional, only those fields which have a value will be updated.
NOTE:
- The percentages are represented as a floating value between 0 and 1. Both inclusive. This applies to following fields
max_investment_per_session
stop_loss
trailing_stop_loss
take_profit
Request
Responses
- 200
- 422
Successful Response
Validation Error