Delete one risk profile
DELETE/v1/firm/risk/:id
Deletes the firm's risk profile with this id and its asset-class allocations, and answers with the body { data: { deleted: true } }. Before the delete, each asset-class allocation of the risk profile is divided in whole percents among the firm's other risk profiles. When the firm has no risk profile with this id, no risk profile is deleted, and the response has the status 200 and the body { data: { deleted: false } }.
Request
Responses
- 200
- 400
- 401
- 403
- 429
Whether the risk profile was deleted: deleted is false when the firm has no risk profile with this id.
The request is malformed, for one of these reasons:
- The
idin the path is not an integer.
The request carries no bearer token, or the API does not accept the token, for example because it has expired.
The API accepts the token, but not for this operation: the role of the person the token belongs to does not permit the operation, or the token does not carry the scope that the operation requires.
The request is over a rate limit. On the limit for each client IP address, the Retry-After header gives the number of seconds to wait before the next request to this operation. On the limit for each person, the Retry-After-per-person header gives the number of seconds to wait before the next request of that person.