novinzodevelopers
Your store's APIApps referenceReseller purchases and keys

Admin Run Key Actions

POST/admin/keys/actions

Runs one support action on several keys of the store, each as AdminRunKeyAction would, one after another, and answers what became of each.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

licenseIds*array<>
Items1 <= items <= 25
action*||||||

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/admin/keys/actions" \  -H "Content-Type: application/json" \  -d '{    "licenseIds": [      "string"    ],    "action": {      "_tag": "HwidReset"    }  }'
[  {    "_tag": "Done",    "id": "string",    "value": {      "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"      }    }  }]