{ "opencollection": "1.0.0", "info": { "name": "Keygen Artifacts Machines API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Machines", "type": "folder" }, "items": [ { "info": { "name": "List all machines", "type": "http" }, "http": { "method": "GET", "url": "https://api.keygen.sh/v1/accounts/{account}/machines", "params": [ { "name": "page[size]", "value": "", "type": "query", "description": "Number of resources per page (1-100)." }, { "name": "page[number]", "value": "", "type": "query", "description": "The page of resources to return." } ] }, "docs": "List all machines" }, { "info": { "name": "Activate a machine", "type": "http" }, "http": { "method": "POST", "url": "https://api.keygen.sh/v1/accounts/{account}/machines", "body": { "type": "json", "data": "{}" } }, "docs": "Activate a machine for a license by hardware fingerprint. Fails if the license has reached its policy machine limit." }, { "info": { "name": "Retrieve a machine", "type": "http" }, "http": { "method": "GET", "url": "https://api.keygen.sh/v1/accounts/{account}/machines/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier (UUID) of the resource." } ] }, "docs": "Retrieve a machine" }, { "info": { "name": "Update a machine", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.keygen.sh/v1/accounts/{account}/machines/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier (UUID) of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a machine" }, { "info": { "name": "Deactivate a machine", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.keygen.sh/v1/accounts/{account}/machines/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier (UUID) of the resource." } ] }, "docs": "Deactivate a machine" }, { "info": { "name": "Ping a machine (heartbeat)", "type": "http" }, "http": { "method": "POST", "url": "https://api.keygen.sh/v1/accounts/{account}/machines/:id/actions/ping", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier (UUID) of the resource." } ] }, "docs": "Send a heartbeat ping to keep a machine's activation alive." } ] } ], "bundled": true }