id ?? null; if (isset($id)) { return "/_async_search/$id"; } throw new RuntimeException('Missing parameter for the endpoint async_search.delete'); } public function getParamWhitelist(): array { return []; } public function getMethod(): string { return 'DELETE'; } }