Vision 6

confirmEmailAddressByCode

Confirms an Account User's email address.

confirmEmailAddressByCode

Confirms an Account User's email address.

Top ↑

Syntax

bool confirmEmailAddressByCode( string api_key, string code );

Parameters

api_key (string)

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

code (string)

The code required to confirm the User's email address

Return Value

Returns true on success or false on failure.

Examples

PHP

$api = new Api($url, 'YOURAPIKEY');

$result = $api->invokeMethod('confirmEmailAddressByCode', '123456');

JSON Request

{
    "id": 1,
    "method": "confirmEmailAddressByCode",
    "params": [
        "YOURAPIKEY","123456"
    ]
}

JSON Response

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

See Also