Create Or Replace DHCP Server Config
If DHCP server config with the dhcp-server-config-id is not already present, create a new DHCP server config instance. If it already exists, replace the DHCP server config instance with this object. Realized entities of this API can be found using the path of Tier-0 that this config is applied on.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/dhcp-server-configs/{dhcp-server-config-id}
Request Body
Request Body
DhcpServerConfig of type(s) application/json
Required
DHCP server configuration
(The request body parameter is missing description)
{}
Request data structure does not contain any properties!
Response
Response
Response BodyResponse Body
200 OK returns
DhcpServerConfig of type(s) application/json
{}
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/infra/dhcp-server-configs/{dhcp-server-config-id}
Errors
BadRequest
400
The request cannot be fulfilled due to bad syntax.
Forbidden
403
The server understood the request, but is refusing to fulfill it.
404
Not Found
PreconditionFailed
412
This error has no documentation
InternalServerError
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
ServiceUnavailable
503
The server is currently unavailable (because it is overloaded or down for maintenance).