Skip to main content

clearSubscriberDRMs

This action allows you to revoke all the DRMs of a subscriber (unit, period and series). The subscriber itself is not deleted.

info

The API key must have access rights to subscribers_write.

Request​

NameTypeDefaultDescription
apikeyRequired
stringAPI public key
signatureRequired
stringSignature of the request. See how to sign your requests
expires
timestampUNIX timestamp for request expiration (GMT)
output
stringFormat of the response. Either XML (default), JSON or PHP
subscription_idRequired
integerID of the folder
loginRequired
stringLogin of the subscriber

Response​

NameTypeDefaultDescription
statusstringReturns ok if successful

Example response​

JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "GSLuiT",
"requests": 212
}
}