Skip to main content
Skip table of contents

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:

CODE
{
  "pvrStatus ": "ENABLED"
}

Response

A successful request returns an HTTP 200 status.

For example: 

CODE
{
  "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.

JavaScript errors detected

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

If this problem persists, please contact our support.