REST Resources


The following operation is supported on this resource:

  • POST - To upload the RSA keys
POST /upload-keysVersion 3

To upload the RSA keys.

Sample Usage

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

POST /upload-keys?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:

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

  • Sample Input JSON:
      "upload-keys-request": {
         "device-credentials-bean-list": {
           "device-credentials-bean" : {
            "space-user-name" : "admin" ,
            "user-name" : "root" ,
            "host-name" : "SRX_Device" ,
            "password" : "********" ,
            "ip-address" : ""

  • Sample Output JSON:

  • Access Control

    The following capabilities are required to access this API: UploadKeys