feat: lizenz aendern - PATCH /api/v1/licenses/:key
- Aendert max_activations (z.B. -1 unbegrenzt), email, note, expires_at, status. - Partielles Update, validiert; nur erlaubte Felder. Tests + README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -74,6 +74,7 @@ Optional: `email`, `note`, `expires_at` (ISO date; omit for lifetime).
|
||||
|---|---|---|
|
||||
| POST | `/api/v1/licenses` | generate a key |
|
||||
| GET | `/api/v1/licenses/:key` | inspect (status + bound domains) |
|
||||
| PATCH | `/api/v1/licenses/:key` | modify (seat limit, email, note, expiry, status) |
|
||||
| POST | `/api/v1/licenses/:key/disable` | revoke |
|
||||
| POST | `/api/v1/licenses/:key/enable` | un-revoke |
|
||||
| GET | `/api/v1/products` | list products |
|
||||
|
||||
Reference in New Issue
Block a user