You are here

public function SendinblueApiV2::setApiKey in SendinBlue 7.2

Set the SendinBlue APIKEY.

Parameters

string|null $apiKey: SendInBlue Apikey.

Overrides SendInBlueApiInterface::setApiKey

File

includes/Api/SendinblueApiV2.php, line 33

Class

SendinblueApiV2
Sendinblue REST client.

Code

public function setApiKey($apiKey) {
  $this->apiKey = $apiKey;
  $this->sIBHttpClient
    ->setApiKey($this->apiKey);
}