Update Dhcp Binding

Update Dhcp Binding

Update a specific DHCP binding of the Org vDC Network.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings/{bindingId}
COPY
Path Parameters
string
vdcNetworkId
Required

vdcNetworkId

string
bindingId
Required

bindingId


Request Body
DhcpBinding of type(s) application/json
Optional

Show optional properties

{
    "name": "string",
    "macAddress": "string",
    "bindingType": "string"
}
{
    "id": "string",
    "name": "string",
    "description": "string",
    "macAddress": "string",
    "ipAddress": "string",
    "leaseTime": 0,
    "dnsServers": [
        "string"
    ],
    "bindingType": "string",
    "dhcpV4BindingConfig": {
        "gatewayIpAddress": "string",
        "hostName": "string"
    },
    "dhcpV6BindingConfig": {
        "sntpServers": [
            "string"
        ],
        "domainNames": [
            "string"
        ]
    },
    "version": {
        "version": 0
    }
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"bindingType:"string","macAddress:"string","name:"string"}' https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings/{bindingId}