Delete a Malop Label

Endpoint URL: https://<your server>/rest/detection/delete-labels
Endpoint URI: detection/delete-labels

Action: POST

Deletes an existing Malop label from the list of labels available for use to add to Malops.

This request is supported for versions 20.1.43 and later.

Note

Ensure that you have logged into the Cybereason platform. For details, see Log in with the API.

Request Headers

Add an Content-Type:application/json header with the request.

Note

If you are using cURL, add the authorization cookie details or the path to the file containing the cookie details as part of every request.


Request Body

Input: Text

[<label id>]


Request Parameters

URL/URI parameters: none

Request Body Parameters: Add the integer value for the label id in square brackets.


Response Status Codes

This request can return the following status codes:

  • 200: Success OK or an error message saying why


Response Success Schema

The response contains a message reporting success.


Response Failure Schema

The response contains a message containing details on the failure.


Important Response Fields

The response contains only the status for delete operation. View that status.


Example: Delete a Malop label

Request

curl --request GET \
        --url https://12.34.56.78/rest/detection/delete-label \
        --header 'Content-Type:application/json' \
        --data '[3]'

Response

{"success"}