All update related API methods use the PUT method in REST API. In this example, updateDNSDeploymentRole will be used to update a specified DNS deployment role.
API call example:
http://<AddressManager_IP>/Services/REST/updateDNSDeploymentRole
URL path:
- PUT / updateDNSDeploymentRole
Parameters:
Parameter | Description |
---|---|
role | The DNS deployment role object to be updated. It will be passed in the HTTP body. |
HTTP Header:
- Authorization: BAMAuthToken: UTtSjMTQ1ODAzMTgzMDUxMzphcGk=
- Content-Type: application/json
HTTP Body:
- JSON containing the update information of DNS deployment
role.
{ "id": 101081, "entityId": 101041, "serverInterfaceId": 100908, "type": "NONE", "service": "DNS", "properties": "readOnly=false|nsRecordTTL=86400|inherited=false|" }
Response
No response. The method has the void return type.