LimeLM
wyBuild
Support forum
wyDay blog
wyDay Home

limelm.pkey.revoke

Revokes (or un-revokes) a product key.

Arguments

api_key (Required)
Your API application key. Your api key is available on your settings page.
pkey_id (Required)
The id of the product key.
revoke (Optional)
Whether to revoke or un-revoke the product key. Possible values are "true" and "false". If this parameter isn't present (or is invalid) it will default to "true".

Example Response

This method has no specific response - It returns an empty success response if it completes without error.

Error Codes

1: Product key not found.
No product keys found pkey_id supplied.
100: Invalid API Key
The API key passed was not valid or has expired.
101: Method "xxx" not found
The requested method was not found.
164: An API key must be used by X devices. Configurable in your settings.
You can only use an API key from X devices. You can set the exact number on your settings page. If you need to use the web API from multiple servers then create another user. You can also temporarily reset this message by logging into the account for which the API key is created and resetting the last used IP address on your settings page.
118: Your account is in dormant mode. Re-enable your account.
You cannot revoke product keys when your account is in dormant mode. Re-enable your account and you will no longer get this error.
142: Service currently unavailable
The requested service is temporarily unavailable.