Send Risk Evaluation Feedback

POST {{apiPath}}/environments/{{envID}}/riskFeedback

This sample uses the riskFeedback endpoint to send feedback regarding the results of three different risk evaluations that were carried out.

Note that the reason parameter is optional, and is not provided for the third risk evaluation.

Prerequisites

For complete property descriptions, see Risk evaluation feedback data model inRisk Evaluations.

PropertyTypeRequired?
evaluationFeedbackItemsArrayRequired
evaluationFeedbackItems\[\].feedbackCategoryStringRequired
evaluationFeedbackItems\[\].reasonStringOptional
evaluationFeedbackItems\[\].riskEvaluation.createdAtDateOptional
evaluationFeedbackItems\[\].riskEvaluation.idStringRequired

Request Body

{"evaluationFeedbackItems"=>[{"riskEvaluation"=>{"id"=>"15f1d245-33b3-4dba-849d-4df4b64b2d42", "createdAt"=>"2024-05-01T13:44:33.417Z"}, "feedbackCategory"=>"FRIENDLY_BOT", "reason"=>"INTERNAL_AUTOMATION"}, {"riskEvaluation"=>{"id"=>"d1b638b4-638e-4c56-8fc6-872691c1bab1"}, "feedbackCategory"=>"FALSE_HIGH_RISK", "reason"=>"COMPANY_VPN"}, {"riskEvaluation"=>{"id"=>"35f1d245-33b3-4dba-849d-4df4b64b2d45"}, "feedbackCategory"=>"FALSE_HIGH_RISK"}]}

RESPONSES

status: Created

{"_links":{"environment":{"href":"https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"771f8a3b-11cd-485a-a738-e521f2c1ea81","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"createdAt":"2024-05-16T14:36:33.849Z","updatedAt":"2024-05-16T14:36:33.849Z"}