/api/space/device-management/devices/{id}/apply-cli-configlet

The following operation is supported on this resource:

  • POST - apply CLI configlet to a device
POST /devices/{id}/apply-cli-configletVersion 2

This API is used to apply a CLI configlet to a device.

Sample Usage

POST /devices/{id}/apply-cli-configlet


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    device-idIntegerPathThe ID of the device to which the CLI configlet will be applied. Y
  • Sample Input XML:

    <cli-configlet-mgmt>
      <configletId>393218</configletId>
      <cli-configlet-param>
        <parameter>param1</variable>
        <param-value>value2</param-value>
      </cli-configlet-param>
      <cli-configlet-param>
        <parameter>param2</variable>
        <param-value>value2</param-value>
      </cli-configlet-param>
    </cli-configlet-mgmt>

  • Access Control

    The following capabilities are required to access this API: ApplyCliTemplateCap

      For other non-deprecated versions of this API, refer to :
    • version 1