Skip to main content

deleteSubscriber

This action allows you to delete a subscriber.

info

The API key must have access rights to subscribers_delete.

danger

Deletion is permanent and cannot be undone. If you only want to suspend a subscriber's access, use deactivateSubscriber instead: the subscriber can be reactivated later with activateSubscriber.

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 you wish to delete

Response​

NameTypeDefaultDescription
statusstringReturns ok if successful

Example response​

JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "v4sFws",
"requests": 260
}
}