novinzodevelopers
Your store's APIApps referenceReseller purchases and keys

Admin Run Key Action

POST/admin/keys/{licenseId}/actions

Runs a support action on any key of the store, for the seller. It goes through the same pipeline as a reseller's action but skips the reseller's role, policy and quotas, and is never charged; the provider must still declare the capability. Revoking an unused key refunds its reseller per the store's refund policy.

Path Parameters

licenseId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

_tag*"HwidReset"

Value in

  • "HwidReset"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/admin/keys/string/actions" \  -H "Content-Type: application/json" \  -d '{    "_tag": "HwidReset"  }'
{  "action": {    "id": "string",    "kind": "hwid_reset",    "licenseId": "string",    "costMinor": 0,    "currency": "AED",    "status": "pending",    "error": "string",    "actor": "string",    "actorName": "string",    "createdAt": "string"  },  "license": {    "id": "string",    "code": "string",    "skuId": "string",    "skuName": "string",    "purpose": "sale",    "purchaseId": "string",    "status": "unused",    "durationMinutes": 1,    "activatedAt": "string",    "expiresAt": "string",    "holderDisplay": "string",    "lastSeenAt": "string",    "note": "string",    "tags": [      "string"    ],    "refreshedAt": "string",    "createdAt": "string"  }}