Vision 6

deleteAutoresponder

Deletes the specified Autoresponder.

deleteAutoresponder

Deletes the specified Autoresponder.

Top ↑

Syntax

bool deleteAutoresponder( string api_key, int autoresponder_id );

Parameters

api_key (string)

The key required to access the API. See Getting Started for more information.

autoresponder_id (int)

The ID of the Autoresponder.

Return Value

Returns true on success or false on failure.

Examples

PHP

$api = new Api($url, 'YOURAPIKEY');
$autoresponder_id = 23;
$deleted = $api->invokeMethod('deleteAutoresponder', $autoresponder_id);

JSON Request

{
    "id": 1,
    "method": "deleteAutoresponder",
    "params": [
        "YOURAPIKEY",
        23
    ]
}

JSON Response

{
    "id": 1,
    "result": true,
    "error": null
}

Error Codes

This method may return the following error code in addition to the standard error codes:

Code Error Description
309 Unable to Load Campaign The Autoresponder could not be found or retrieved.

See Also