[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Delete Product DNS Settings Data V2 Deprecated

Description

This API is used to delete a product DNS settings saved.

Request

Request

URL

URL


delete
https://localhost:8080/lcm/lcops/api/v2/settings/dns
Copy

Request Body

Request Body

DNSConfigurationDTO Required

dnsConfigurationDTO

{
    "hostName": "IP address of DNS server",
    "name": "dns-server1"
}
string
hostName Optional

DNS hostname


string
name Optional

DNS name

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns DNSConfigurationDTO of type(s) application/json
{
    "hostName": "IP address of DNS server",
    "name": "dns-server1"
}
string
hostName Optional

DNS hostname


string
name Optional

DNS name


204 No Content

No Content

Errors

Errors

GenericErrorResponseDTO
400

Bad Request


401

Unauthorized


403

Forbidden


GenericErrorResponseDTO
404

Not Found


GenericErrorResponseDTO
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X DELETE -H "Content-Type: application/json" -d '{"hostName":"IP address of DNS server","name":"dns-server1"}' https://localhost:8080/lcm/lcops/api/v2/settings/dns


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Settings Controller Operations
Feedback

Was this page helpful?