Terminating a License Key

Signature

Request:

  • URL: /30/keys/<KEY_ID_OR_ACTIVATION_CODE>
  • Method: DELETE
  • Body: no
  • Optional query string parameters:
    • return-key-state (boolean). Defines whether to return Partner API 3.0's License Key Structure of a created key in response (false by default).

Response:

  • Success status code: 200
  • Body: Partner API 3.0's License Key Structure (Not empty only if the return-key-state parameter was enabled).
Example

Request:

DELETE /30/keys/12345678?return-key-state=yes HTTP/1.1

Response:

HTTP/1.1 200 OK
  
{
  "ownerId" : "12345",
  "keyIdentifiers" : {
    "keyId" : 12345678,
    ...
}

  

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.