Assign a model to accounts
PUT/v1/accounts/model
Assigns the model in modelId to each account whose ID is a key of accounts, and returns each account it assigned. Every key is assigned, whatever its value. A key that is not the ID of one of your firm's accounts is skipped, and the response leaves it out. Send the ID of one of your firm's models in modelId.
Request
Responses
- 200
- 400
- 401
- 403
- 429
Each account the request assigned.
The request body is invalid, for example modelId is not a whole number, or a key of accounts is not a whole number of at least 1 or its value is not true or false.
The access token is missing, invalid, or expired.
The access token does not have the write:household scope.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.