Independent License System
Independent License System
- Base URL
-
https://api.example.com - Authentication
x-api-key: YOUR_API_KEY
Endpoints
- Authentication How to authenticate your API requests.
-
GET
Get All License Keys
v1.0
/api/keysReturns an array of all license keys in the database. -
GET
Get Single License Key
v1.0
/api/keys/{id}Returns an object with the requested key information. -
GET
Get Single License Key Logs
v1.0
/api/keys/{id}/logsReturns all license logs in an array. -
POST
Create License Key
v1.0
/api/keysCreates a license key with the desired information. -
PUT
Update License Key
v1.0
/api/keys/{id}Updates an existing license key details. Content defaults to existing data if not provided in the body. Returns updated key object. -
DELETE
Delete License Key
v1.0
/api/keys/{id}Deletes the desired license key and its logs. Returns the last license object before deletion. -
POST
Check License Key Authorisation
v1.0
/api/checkThe API returns a JSON response indicating whether the license is valid.