Note
We’ve renamed Microsoft Cloud App Security. It’s now called Microsoft Defender for Cloud Apps. In the coming weeks, we’ll update the screenshots and instructions here and in related pages. For more information about the change, see this announcement. To learn more about the recent renaming of Microsoft security services, see the Microsoft Ignite Security blog.
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>" "https://<tenant_id>.<tenant_region>.contoso.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
]
}
If you run into any problems, we’re here to help. To get assistance or support for your product issue, please open a support ticket.