delete() public method
Performs DELETE HTTP request
public mixed delete ( $url, $options = [], $body = null, $raw = false ) | ||
---|---|---|
$url | string|array |
URL |
$options | array |
URL options |
$body | string |
Request body |
$raw | boolean |
If response body contains JSON and should be decoded |
return | mixed |
Response |
throws | yii\elasticsearch\Exception | |
throws | yii\base\InvalidConfigException |
Please login to continue.