Create an FQDN
POST/security/fqdns
Creates a new FQDN object.
Request
- application/json
Body
required
FQDN to add
connection_id stringrequired
fqdn stringrequired
port integer
dns_record_type stringrequired
Possible values: [a
, srv
]
the DNS record type for the FQDN. For cases where a port is not set, the DNS record type must be 'srv'. For cases where a port is set, the DNS record type must be 'a'. If the DNS record type is 'a' and a port is not specified, 5060 will be used.
Responses
200: FQDN created response
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
connection_id stringrequired
fqdn stringrequired
port integer
dns_record_type stringrequired
Possible values: [a
, srv
]
the DNS record type for the FQDN. For cases where a port is not set, the DNS record type must be 'srv'. For cases where a port is set, the DNS record type must be 'a'. If the DNS record type is 'a' and a port is not specified, 5060 will be used.
{
"id": "string",
"connection_id": "string",
"fqdn": "string",
"port": 0,
"dns_record_type": "a"
}
400: Bad request
401: Unauthorized
Loading...