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 a Domain

Prev Next

This URL deletes a domain.

Resource URL

DELETE /domain/<domain_id>

Request Parameters

URL Parameters:

Field Name Description Data Type Mandatory
domain_id Domain 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 Set to 1 if the operation was successful, -1 otherwise Number

Example

Request

DELETE https://%3CNSM_IP%3E/sdkapi/domain/105

Response

{
"status": 1
} 
 

Error Information

Following error codes are returned by this URL:

No HTTP Error Code SDK API errorId SDK API errorMessage
1 404 1105 Invalid domain