All update-related API methods use the PUT method in REST API. This example uses updateDNSDeploymentOption to update a specified DNS deployment option.
API call example
http://<AddressManager_IP>/Services/REST/v1/updateDNSDeploymentOption Authorization: BAMAuthToken: UTtSjMTQ1ODAzMTgzMDUxMzphcGk= Content-Type: application/json { "id": 100918, "type": "DNS, "name": "zone-default-ttl", "value": "18000", "properties": "inherited=false|" }
Parameters
Parameter | Description |
---|---|
body | The DNS deployment role object to be updated. It will be passed in the HTTP body. |
Successful response
No response.