| 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 |
Run the POST request to send feedback about the activity matching the specified primary key.
POST /api/v1/activities/<pk>/feedback| Parameter | Description |
|---|---|
| pk | The ID of the activity |
| Parameter | Description |
|---|---|
| feedback | The feedback for the activity |
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"
}'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]