Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.25 KB

File metadata and controls

60 lines (43 loc) · 1.25 KB
title Feedback - Activities API
description This article describes the feedback request in the Defender for Cloud Apps Activities API.
ms.date 01/29/2023
ms.topic reference

Feedback on activity - Activities API

Run the POST request to send feedback about the activity matching the specified primary key.

HTTP request

POST /api/v1/activities/<pk>/feedback

Request URL parameters

Parameter Description
pk The ID of the activity

Request BODY parameters

Parameter Description
feedback The feedback for the activity

Example

Request

Here is an example of the request.

curl -XPOST -H "Authorization:Token <your_token_key>"  -H "Content-Type: application/json" "https://<tenant_id>.<tenant_region>.portal.cloudappsecurity.com/api/v1/activities/<pk>/feedback" -d '{
  "feedbackValue": "0",
  "feedbackText": "Irrelevant",
  "allowContact": false,
  "contactEmail": "some.contact.address"
}'

Response

Returns a list of activities in JSON format.

{
  "total": 5 // total number of records
  "hasNext": true // whether there is more data to show or not.
  "data": [
    // returned records
  ]
}

[!INCLUDE Open support ticket]