cancelSubscription

Request Method: PUT

Description: Cancel a subscription

URL: https://api.iovox.com:444/Subscriptions?v=3&method=cancelSubscription

The following parameters can be sent in the querystring

ParameterDescriptionDefault ValueData TypeMandatory
vAPI version to use INTEGERYES

Payload

The following XML payload must be sent with an updateContacts request:

<?xml version="1.0" encoding="utf-8"?>
<request>
    <sub_account_name></sub_account_name>
</request>

Payload Description

Node NameDescriptionDefault ValueData TypeMandatory
sub_account_name
Leave empty for cancel the current API user account, if not empty it should be an account name beneath the current API account ""STRINGNO

Result

Error Result

HTTP CodeError StringResolution
400API Version EmptyAdd a value for the v parameter in the query string
400API Version InvalidCorrect v parameter
400Request Method must be PUT. x attemptedSwitch request method x to PUT
400XML EmptyAdd xml to the request body
400XML parse error. x at line y, column zCorrect XML at point x on line y, column z
400Request EmptyAdd at least one contact to the request
400The provided sub_account_name is not validThe provided sub_account_name is not valid
400There are no active subscriptions in this accountThere are no active subscriptions in this account
500Internal Server ErrorRetry later

Success Result

HTTP/1.1 204 No Content