You are here

public function SendinblueHttpClient::delete in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Tools/Http/SendinblueHttpClient.php \Drupal\sendinblue\Tools\Http\SendinblueHttpClient::delete()

Delete Request of API.

Parameters

string $resource: A request action.

string $input: A data of curl request.

Return value

array A respond data.

File

src/Tools/Http/SendinblueHttpClient.php, line 221

Class

SendinblueHttpClient
Sendinblue REST client.

Namespace

Drupal\sendinblue\Tools\Http

Code

public function delete($resource, $input) {
  return $this
    ->doRequest($resource, 'DELETE', $input);
}