Create Dhcp Binding

Create Dhcp Binding

Creates a DHCP binding on an Org vDC Network.

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

vdcNetworkId


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 POST -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