Public API

Remove device

Remove an active device from a license.

DELETE
/api/v1/public/licenses/device

Request Body

application/json

licenseKey*string

The license key.

deviceIdentifier*string

The identifier of the device to remove.

productId*|array<>

The product ID of the license. Can be a single string or an array of strings.

Response Body

application/json

curl -X DELETE "https://keyforge.dev/api/v1/public/licenses/device" \  -H "Content-Type: application/json" \  -d '{    "licenseKey": "ABCDE-ABCDE-ABCDE-ABCDE-ABCDE",    "deviceIdentifier": "some_device_id",    "productId": "p_123456"  }'
Empty
{
  "error": {
    "code": "invalid_license",
    "message": "Invalid license."
  }
}