Description
Adds a DHCP vendor deployment option to specified objects.
Parameters
Name | Description |
---|---|
optionId |
Location: query Type: integer (int64) The object ID of the vendor option definition. All DHCP vendor client deployment options have a fixed option code of 60 and a unique option sub-code. The unique sub-code is set with the optionId value in the addVendorOptionDefinition method.Note: Starting in Address Manager API v9.2.0, this parameter is now required.
|
parentId |
Location: query Type: integer (int64) The object ID of the parent object for the DHCP vendor deployment option. The parent object must not be a DNS object. Valid parent types are Configuration, IP4Block, IP4Network, IP4NetworkTemplate, IP4Addr, IP4DHCPRange, Server, MACAddr, and MACPool.Note: Starting in Address Manager API v9.2.0, this parameter is now required.
|
properties |
Location: query Type: string Adds object properties, including user-defined fields. This value can be empty. If the DHCP vendor client deployment option is intended for use with a specific server, the object ID of the server must be specified in the properties string. |
value |
Location: query Type: string The value for the option. The value should be appropriate for its option type. For example, if the option type is IP4 and allowMultiple is set as true in the vendor option definition, then the value of the DHCP vendor client deployment option should be multiple IPv4 addresses in a comma-separated list. |
Responses
Code | Description |
---|---|
201 |
Type: number Returns the object ID of the new DHCP vendor deployment option. |