Reverting to Previous License Key

When you install a new license key, the previous key is backed up, so that you can restore this key at any time. To roll back to your previously used license key, use the license-rollback-key operation.

In this chapter:

Request Packet Structure

Response Packet Structure

Sample

 

Request Packet Structure

The license-rollback-key operation is used for reverting to the previous license key.

A request XML packet (server_input.xsd) reverts to the previous license key.

<packet>
<server>
   <license-rollback-key/>
</server>
</packet>
 

Response Packet Structure

The license-rollback-key node of the output XML packet is of complex type (server_output.xsd) which has the following presentation:

license-rollbak-key response 1633

  • result, required.
    It wraps the result of the operation. Data type: resultType (common.xsd).
  • status, required.
    It returns the execution status of the operation. Data type: string. Allowed values: ok | error.
  • errcode, required if the operation fails.
    It returns error code. Data type: unsignedInt.
  • errtext, required if the operation fails.
    It returns error message. Data type: string.
  • key-id, optional.
    It returns the ID number of the rolled back license key if the operation succeeded. Data type: string.
 

Sample

A request XML packet (server_input.xsd) reverts to the previous license key.

<packet>
<server>
   <license-rollback-key/>
</server>
</packet>

Response:

<packet>
  <server>
    <license-rollback-key>
      <result>
        <status>ok</status>
        <key-id>PLSK.01353783.0000</key-id>
      </result>
    </license-rollback-key>
  </server>
</packet>