The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Delete Malware Policy

Prev Next

This URL deletes the specified malware policy

Resource URL

DELETE /malwarepolicy/<policy_id>

Request Parameters

URL Parameters:

Field Name

Description

Data Type

Mandatory

policy_id

Policy id

Number

Yes

Response Parameters

Following fields are returned if the request parameters are correct, otherwise error details are returned.

Field Name

Description

Data Type

status

Status returned by deletion

Number

Example

Request

DELETE https://<NSM_IP>/sdkapi/malwarepolicy/301

Response

{
"status":1
}

Error Information

Following error codes are returned by this URL:

S.No

HTTP Error Code

SDK API errorId

SDK API errorMessage

1

404

2501

Invalid advanced malware policy id/ policy not visible to this domain

2

400

2503

Assigned malware policy cannot be deleted