cURL
curl --request POST \ --url https://api.mclicense.org/plugins/{pluginId}/licenses \ --header 'Content-Type: application/json' \ --header 'MCL-Key: <api-key>' \ --data '{ "maxIps": 123, "expiresOn": "<string>", "user": "<string>" }'
{ "key": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "pluginId": "<string>", "maxIps": 123, "expiresOn": "<string>", "user": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Generates a new license key for the specified plugin with the given parameters
API key must start with 'mcl_'
License created successfully
The response is of type object.
object