Skip to main content

deactivateSubscriber

This action allows you to deactivate an activated subscriber. Once deactivated, the subscriber can no longer access their publications.

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": "gxcOoT",
"requests": 211
}
}