Activations API
List Activations
GET /api/activationsQuery Parameters:
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
license_id | string | Filter by license |
status | string | Filter: active, deactivated |
Response:
json
{
"items": [
{
"id": "act_xxx",
"licenseId": "lic_xxx",
"domain": "example.com",
"ipAddress": "1.2.3.4",
"status": "active",
"activatedAt": "2025-01-15T12:00:00.000Z",
"deactivatedAt": null,
"lastCheckedAt": "2025-01-20T08:00:00.000Z",
"license": {
"id": "lic_xxx",
"key": "MYPLUGIN-XXXX-XXXX-XXXX-XXXX",
"customerEmail": "[email protected]"
},
"product": {
"id": "prd_xxx",
"name": "My Plugin"
}
}
],
"pagination": { "page": 1, "perPage": 20, "total": 10, "totalPages": 1 }
}Deactivate Activation
POST /api/activations/:id/deactivateSets the activation status to deactivated and decrements the license's activatedCount.
