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

Enable/disable NPVR for an account

Request

To enable or disable NPVR for an account, send a PUT request to:

https://<host>:<port>/adm/v1/accounts/{uid}

Headers

  • Content-Type: application/json

Mandatory arguments

  • uid – the ID of the account to enable NPVR for 

Other arguments

  • pvrStatus – the NPVR status to be applied to the account (ENABLED to enable, DISABLED to disable)

Example

A PUT request with this payload enables NPVR the for the account specified in the URL:

{
  "pvrStatus ": "ENABLED"
}

Response

A successful request returns an HTTP 200 status.

For example: 

{
  "matchedCount": 1,
  "modifiedCount": 1
}

A bad request returns an HTTP 400 status.

An unauthorised request returns an HTTP 401 status.

A forbidden request returns an HTTP 403 status.

If the account cannot be found, the request returns an HTTP 404 status.

See also

For full details of this API, see User Recordings API documentation.