## Delete Sink `client.pipelines.sinks.delete(stringsinkId, SinkDeleteParamsparams, RequestOptionsoptions?): SinkDeleteResponse` **delete** `/accounts/{account_id}/pipelines/v1/sinks/{sink_id}` Delete Pipeline in Account. ### Parameters - `sinkId: string` Specifies the publid ID of the sink. - `params: SinkDeleteParams` - `account_id: string` Path param: Specifies the public ID of the account. - `force?: string` Query param: Delete sink forcefully, including deleting any dependent pipelines. ### Returns - `SinkDeleteResponse = unknown` ### 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 sink = await client.pipelines.sinks.delete('0223105f4ecef8ad9ca31a8372d0c353', { account_id: '0123105f4ecef8ad9ca31a8372d0c353', }); console.log(sink); ``` #### Response ```json { "result": {}, "success": true } ```