Genericize revoke-reason example (drop refund framing)

This commit is contained in:
Grant
2026-06-13 06:58:15 -05:00
parent 5fc2c4516f
commit 5cf56007f0
+1 -1
View File
@@ -170,7 +170,7 @@ Scope required: `licenses:write` (any role except `read-only`).
curl -X POST $KS/v1/admin/licenses/$LICENSE_ID/revoke \ curl -X POST $KS/v1/admin/licenses/$LICENSE_ID/revoke \
-H "Authorization: Bearer ks_..." \ -H "Authorization: Bearer ks_..." \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"reason":"refund issued"}' -d '{"reason":"customer request"}'
``` ```
Idempotent. The next online validate from the buyer's app returns `reason: revoked`. Idempotent. The next online validate from the buyer's app returns `reason: revoked`.