OpenTV ENTera & OpenTV Platform Documentation
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Verifying user-supplied PINs

Request

To verify the PIN that the user has supplied, send a POST request to:

http://<server>:<port>/adm/v1/user/accounts/actions/validatePin


This request will fail if the PIN's status is LOCKED. You can check the status of each PIN as described in Getting the status of all PINs for the account.

Headers

  • Content-Type: application/json

  • Authorisation

  • nv-tenant-id

Mandatory arguments

None

Example

A POST request with this payload checks whether the supplied PIN value is correct for the specified PIN type:

{
    "type": "ParentalPin",
    "value": "1A2B3C4D5E"
}

Response

A successful request returns an HTTP 200 status.

An unsuccessful request returns an HTTP 401 status.

See also

For full details of this API, see Account and Device Manager (ADM) API documentation.