You are here

public function SendinblueMailin::deleteToken in SendinBlue 7

Delete access token.

Parameters

string $key: An access token.

Return value

array A response code.

File

includes/sendinblue.mailin.php, line 367
Rest class file.

Class

SendinblueMailin
Sendinblue REST client.

Code

public function deleteToken($key) {
  return $this
    ->post("account/deletetoken", drupal_json_encode(array(
    "token" => $key,
  )));
}