Skip to main content

Update a model

PUT 

/v1/models/models/:id

Replaces the model with the given ID with the one in the request body. Send every field: primary securities, security groups, sleeves and security restrictions that you leave out of their arrays are removed from the model. Other fields in the body, such as id, are ignored. If your firm has no model with that ID, the response is 404.

Make the weights of the primary securities, security groups and sleeves add up to 100. The API does not check the total. If your firm has no benchmark, security group or sleeve with an ID in the request body, the response is 404 and nothing is saved.

Request​

Responses​

The updated model.