Request body
json
{
"license_key": "XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX"
}API Endpoint
Revoke a license key. Revoked licenses cannot be activated or validated.
POST /revoke
Use these endpoints for license lifecycle operations. /generate and /revoke require a generated active server API key. Runtime endpoints use license_key plus fingerprint.
curl -X POST http://localhost:8080/revoke \
-H "Authorization: Bearer <generated_server_api_key>" \
-H "Content-Type: application/json" \
-d '{
"license_key": "XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX"
}'{
"license_key": "XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX"
}{
"valid": false,
"status": "revoked",
"license_key": "XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX",
"revoked_at": "2026-04-20T12:00:00Z"
}valid
boolean
Always false for a successful revoke response.
status
"revoked"
License status after revocation.
license_key
string
License key that was revoked.
revoked_at
string
RFC3339 timestamp when revocation was recorded.
Invalid JSON or missing license_key.
Missing or invalid API key.
License not found.
Unexpected server or storage error.