Update Activation

Updates an existing activation. Use this to activate or deactivate an activation by flipping its activated flag — for example, to remotely re-enable a device you previously turned off, or to disable one from your backend or admin tooling.

PUT https://api.keyzy.io/v2/activations/{id}

The {id} is the activation’s id, as returned by Get Activations.

Requires a write API key. Never embed a write key in a distributable application — anyone who extracts it could modify or delete your licenses.

Parameters

ParameterDescription
idid of the activation object

Arguments

ParameterDescription
app_idAn app_id that has write permission
api_keyAn api_key that has write permission
activatedtrue to activate the activation, false to deactivate it

Returns

Success

{
  "message": "Activation successfully updated."
}

Errors

You are not authorized

{
  "error": {
    "message": "You are not authorized!",
    "status_code": 401
  }
}

Activation does not exist

{
  "error": {
    "message": "Activation does not exist!",
    "status_code": 404
  }
}

Missing or invalid activated (the activated argument is required and must be a boolean)

{
  "error": {
    "message": {
      "activated": [
        "The activated field is required."
      ]
    },
    "status_code": 422
  }
}