Save Product DNS Settings Data V2
This API is used to save product DNS settings.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/settings/dns
Request Body
Request Body
DNSConfigurationDTO (required)
string
hostName
Optional
DNS hostname
string
name
Optional
DNS name
Response
Response
Response BodyResponse Body
201 Created returns
DNSConfigurationDTO
{
"hostName": "IP address of DNS server",
"name": "dns-server1"
}
string
hostName
Optional
DNS hostname
string
name
Optional
DNS name
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"hostName":"IP address of DNS server","name":"dns-server1"}' https://localhost:8080/lcm/lcops/api/v2/settings/dns
Errors
401
The request requires user authentication.
403
The server understood the request, but is refusing to fulfill it.
404
The requested resource could not be found but may be available again in the future.
409
The request could not be completed due to a conflict with the current state of the resource.
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
On This Page
Settings Controller Operations
delete
delete
delete
delete