Searching for License Keys¶
Signature¶
Request:
- URL: /30/keys
- Method: GET
- Body: no
- Optional query string parameters:
ip-address-binding
(string). It is used to filter licenses by the IP address that a license key is bound to. Can be both IPv4 and IPv6.nickname
(string). It is used to filter licenses by an alias, custom tag, and other similar properties.uid
(string). It is used to filter licenses by the UID with which a license is activated.product
(string). It is used to filter licenses by product name aliases.status
(string). It is used to filter licenses by status. The allowed values areactive
,expired
,expiring
,terminated
,suspended
.type
(string). It is used to filter licenses by license type. The allowed values aremaster
,trial
,purchased
,lease
,lease1m
,lease3m
,lease6m
,lease1y
,lease2y
,lease3y
,bundled
.fraud
(string). It is used to indicate that a license is detected as being used on multiple Plesk servers. The allowed value:confirmed_multiuse
,potential_multiuse
.restrict-ip-binding
(boolean) - It is used to indicate whether a license key can (false
) or cannot (true
) be used on IP addresses other than the IP address it is bound to. The allowed values:false
,true
.
Response:
- Success status code: 200
- Body: License Key Structure (Short).
Example¶
Request:
GET /30/keys?nickname=plesk213 HTTP/1.1
Response:
HTTP/1.1 200 OK
[
{
"ownerId" : "987654321",
"keyId" : 1234567,
"parentKeyId" : null
}
]