/api/space/device-management/devices/{device-id}/clone

The following operation is supported on this resource:

  • POST - Clone a device
POST /devices/{device-id}/cloneVersion 1

Sample Usage

This API makes an asynchronous method call, so you can, optionally, specify queue and schedule parameters:

POST /devices/{device-id}/clone?queue=<queue>&schedule=<schedule>


Note: The queue URL denoted by <queue> must have been created already.


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    device-idIntegerPath   Y
    queueQueue URLQueryA fully qualified queue URL, where job progress notifications will be sent (See Asynchronous API Usage)N
    schedulecron-like-expressionQuerySchedule this API in the future, by specifying a cron-like-expression (See Job Scheduling)N
  • Sample Input XML:
    <clone-request>
         <cloned-device-name>String</cloned-device-name>
         <device-count>Integer</device-count>
         <image-upgrade-validation>Boolean</image-upgrade-validation>
         <device-image href="/api/space/software-management/packages/{id}">
               <name>String</name>
         </device-image>
    </clone-request>

  • Sample Input JSON:
    {
       "clone-request" : {
         "cloned-device-name" : "String" ,
         "device-count" : "Integer" ,
         "image-upgrade-validation" : "Boolean" ,
         "device-image" : {
           "@href" : "/api/space/software-management/packages/{id}" ,
           "name" : "String"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: CloneDevice