Update detection
Update the status or comment fields for an existing detection for a tenant.
Service endpoint | /detections/v2/update |
Optional query string parameters | — |
Example | https://protectapi.cylance.com/detections/v2/update |
Method | HTTP/1.1 POST |
Request headers |
|
Request
Request with Status:
[ { "detection_id": "f2d6c020-53e2-4300-9005-2e006d9a0f57", "field_to_update": { "status": "Done" } } ]
Request with Comment:
[ { "detection_id": "f2d6c020-53e2-4300-9005-2e006d9a0f57", "field_to_update": { "comment": "Add comment" } } ]
When creating the request JSON, include the status or comment string, but not both in the same request. Attempting to send the request with the status and comment strings included will result in a 400 bad request error.
Response
Please see the Response status codes for more information.
Request JSON schema
Field Name | Description |
---|---|
comment | This is the comment of the detection. |
status | This is the status of the detection.
|