HomeGuidesAPI Reference
API Reference

Create or update DNS-based application classification

Creates or updates a user-defined DNS-based application classification. The domain in the query parameter must match the domain in the request body. Upon success, the system recalculates merged DNS classification data and updates the hash code. Requires READ_WRITE permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The domain name to create or update. Must match the domain field in the request body.

Body Params

DNS classification configuration object containing domain mapping details.

Request body for creating or updating a DNS-based application classification.

string
required

The DNS domain name or hostname to classify. Must match the domain query parameter.

string
required
length ≤ 31
^[a-zA-Z0-9_\-\.]+$

Application name for this domain. Alphanumeric, hyphen, underscore, and period characters only. Maximum 31 characters.

string

Optional description for the application. Cannot contain the pipe character '|'.

integer
required
1 to 100

Classification priority. Higher values take precedence when multiple rules match.

boolean
required
Defaults to false

When true, this classification rule is disabled and will not be applied.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json