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.

Import Custom Fingerprints

Prev Next

This URL imports the list of blocked fingerprints to the Manager.

Resource URL

PUT /domain/<domain_id>/filereputation/customfingerprints

Content-type value

multipart/form-data; boundary=<x>

Request Parameters

URL Parameters:
Field Name Description Data Type Mandatory
domain_id Domain id Number Yes

Payload Request Parameters:

Field Name Description Data Type Mandatory
MultiPart It holds the body parts object Object Yes

Details of BodyPart[0]:

Field Name Description Data Type Mandatory
BodyPart[0] It holds the finger print action object Application/json Yes

Details of finger print action:

Field Name Description Data Type Mandatory
Action Action type can be "APPEND"/ "REPLACE" String Yes

Details of BodyPart[1]:

Field Name Description Data Type Mandatory
BodyPart1] It holds the .csv file as input stream Application/octet-stream Yes

Details of file:

Field Name Description Data Type Mandatory
File Input stream of the csv file ByteArrayInput Stream 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 updation Number

Example

Request

PUT https://%3CNSM_IP%3E/sdkapi/domain/0/filereputation/customfingerprints

Payload:

NSM-SDK-API: OEZDNzAwNUQ3OTM2MjUzM0I3QTBBREQ4MENFMzExMTM6MQ==
Accept: application/vnd.nsm.v1.0+json
Content-Type: multipart/form-data; boundary=Boundary_1_21363001_1362483936674
MIME-Version: 1.0
User-Agent: Java/1.6.0_25
Host: localhost:8888
Connection: keep-alive
Content-Length: 348

--Boundary_1_21363001_1362483936674
Content-Type: application/json

{"Action":"REPLACE"}
--Boundary_1_21363001_1362483936674
Content-Type: application/octet-stream
collectmail_notwo0a.pdf,1,MD5,075c8160789eb0829488a4fc9b59ed6c,description
putty_v0.60.exe,1,MD5,acdac6399f73539f6c01b7670045eec7,desc
--Boundary_1_21363001_1362483936674-- 

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 500 1101 Internal server error
2 404 1105 Invalid domain