id ?? null; if (isset($id)) { return "/_ml/data_frame/analytics/$id"; } throw new RuntimeException('Missing parameter for the endpoint ml.delete_data_frame_analytics'); } public function getParamWhitelist(): array { return [ 'force', 'timeout' ]; } public function getMethod(): string { return 'DELETE'; } }