Skip to main content
Skip table of contents

Add or change the PIN for a device – DTH

Request

To add or change the PIN for a device, send a PUT request to:

http://<host>:<port>/cag/v1/{casInstanceName}/devices/{deviceId}/pin/{pinNum}
This call replaces the existing PIN, if one has already been set.

Mandatory fields

  • casInstanceName
  • deviceId
  • pinNum

Example

The following request sets the value of the PIN to 1234 for the specified device:

http://<host>:<port>/cag/v1/irdeto/devices/245098240/pin/1234

Response

A successful request returns an HTTP 200 status.

An unsuccessful request returns an HTTP 400 status if there was a problem with the request.

Example

CODE
{
  "status":"Success",
  "commandCount":1,
  "commandResults":[
    {
      "commandName": "createParentalPinCode",
      "id": "000100978",
      "responseCode": "1028",
      "responseText":"OK"
    }
    ]
}

See also

For full details of this API, see CAS Gateway (CAG) API Documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.