## Delete a Account Provider `client.aiGateway.customProviders.delete(stringid, CustomProviderDeleteParamsparams, RequestOptionsoptions?): CustomProviderDeleteResponse` **delete** `/accounts/{account_id}/ai-gateway/custom-providers/{id}` Deletes an AI Gateway dataset. ### Parameters - `id: string` - `params: CustomProviderDeleteParams` - `account_id: string` ### Returns - `CustomProviderDeleteResponse` - `id: string` - `base_url: string` - `created_at: string` - `modified_at: string` - `name: string` - `slug: string` - `beta?: boolean` - `curl_example?: string` - `description?: string` - `enable?: boolean` - `headers?: string` - `js_example?: string` - `link?: string` - `logo?: string` - `position?: number` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const customProvider = await client.aiGateway.customProviders.delete( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { account_id: '3ebbcb006d4d46d7bb6a8c7f14676cb0' }, ); console.log(customProvider.id); ``` #### Response ```json { "result": { "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", "base_url": "https://example.com", "created_at": "2019-12-27T18:11:19.117Z", "modified_at": "2019-12-27T18:11:19.117Z", "name": "name", "slug": "slug", "beta": true, "curl_example": "curl_example", "description": "description", "enable": true, "headers": "headers", "js_example": "js_example", "link": "link", "logo": "logo", "position": 0 }, "success": true } ```