REST Resources

/api/space/device-management/reactivate-devices-from-rma

The following operation is supported on this resource:

  • POST - Reactivate Devices From RMA Rest
POST /reactivate-devices-from-rmaVersion 8

Reactivate Devices From RMA Rest.

Sample Usage

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

POST /reactivate-devices-from-rma?queue=<queue>&schedule=<schedule>


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


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    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:
    <reactivate-from-rma-request>
       <is-confirm-commit>true</is-confirm-commit>
       <is-new-user>true</is-new-user>
       <user-name>root</user-name>
       <password>admin123</password>
       <auto-resolve>true</auto-resolve>
       <sync-from-space>true</sync-from-space>
       <devices>
          <device>
             <id>1</id>
             <fingerprint>d6:7a:f3:ba:7b:79:80:06:32:b3:fb:7f:e2:e4:88:38</fingerprint>
          </device>
          <device>
             <id>2</id>
          </device>
       </devices>
    </reactivate-from-rma-request>

  • Sample Output XML:
    <task href="/api/space/job-management/jobs/1081355">
      <id>1081355</id>
    </task>

  • Sample Input JSON:
    {
      "reactivate-from-rma-request": {
       "is-confirm-commit": "true",
       "is-new-user": "true",
       "user-name": "root",
       "password": "admin123",
       "auto-resolve": "true",
       "sync-from-space": "true",
       "devices": {
         "device": [
          {
            "id": 1,
            "fingerprint": "d6:7a:f3:ba:7b:79:80:06:32:b3:fb:7f:e2:e4:88:38"
          },
          {
            "id": 2
          }
         ]
       }
      }
    }

  • Sample Output JSON:
    {
      "task":{
        "@href":"/api/space/job-management/jobs/1081355",
        "id":1081355
      }
    }

  • Access Control

    The following capabilities are required to access this API: ReactivateRMADevice