PATCH/projects/api/v3/risks/{riskId}.json
Update an existing risk.
Modify the properties of an existing risk.
Path Params
- Name
riskId
- Type
- integer
- required
- Description
Body Params
Request contains information of a risk to be created or updated.
- Name
risk
- Type
- object
- Description
- Risk contains all the information returned from a risk.
- Name
riskOptions
- Type
- object
- Name
tags
- Type
- array
- Description
- Tag contains all the information returned from a tag.
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
Response contains information about a specific risk.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 404
- Description
- 404 Not Found No Data
- Code
- 409
- Type
- object
- Schema
- Description
- 409 Conflict
ErrorResponse defines how []Error should be marshaled to JSON.
200 OK
Response
{ "included": { "companies": { "additionalProp": { "accounts": 0, "addressOne": "string", "addressTwo": "string", "budgetDistribution": [ { "color": "string", "companyId": 0, "count": 0, "from": 0, "to": 0 } ], "canSeePrivate": true, "cid": "string",