REST Resources

/api/space/device-management/devices/{id}/exec-resync

The following operation is supported on this resource:

  • POST - Resynchronize the device
POST /devices/{id}/exec-resyncVersion 1

This API is used to resynchronize the device.

Sample Usage

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

POST /devices/{id}/exec-resync?queue=<queue>&schedule=<schedule>


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


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    device-idIntegerPathThe ID of the device that needs to be resynchronized. 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 Output XML:

    <task href="/api/space/job-management/jobs/98365">
       <id>884737</id>
    </task>

  • Sample Output JSON:


    {
      "task":{
        "@href":"/api/space/job-management/jobs/3997704",
        "id":3997704
      }

  • Access Control

    The following capabilities are required to access this API: DiscoverDevices