Retrieving a License Key
Note: This command is not REST-compliant.
Signature
Request:
- URL: /30/keys/<KEY_ID_OR_ACTIVATION_CODE>/retrieve
- Method: GET
- Body: no
- Optional query string parameters:
-
previous-version
(boolean). Determines whether to return a license key in the previous (true
) or current (false
, the default) version of the export format.
-
Response:
- Success status code: 200
- Header: “Content-Type: application/octet-stream”
- Header: “Content-Disposition” with the file name of an exported license key
- Body: An exported license key body.
Example
Request:
GET /30/keys/12345678/retrieve HTTP/1.1
Response:
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=PLSK.12345678.0001.xml
<?xml version="1.0"?>
...