## Delete PagerDuty Services `client.alerting.destinations.pagerduty.delete(PagerdutyDeleteParamsparams, RequestOptionsoptions?): PagerdutyDeleteResponse` **delete** `/accounts/{account_id}/alerting/v3/destinations/pagerduty` Deletes all the PagerDuty Services connected to the account. ### Parameters - `params: PagerdutyDeleteParams` - `account_id: string` The account id ### Returns - `PagerdutyDeleteResponse` - `errors: Array` - `message: string` - `code?: number` - `messages: Array` - `message: string` - `code?: number` - `success: true` Whether the API call was successful - `true` ### 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 pagerduty = await client.alerting.destinations.pagerduty.delete({ account_id: '023e105f4ecef8ad9ca31a8372d0c353', }); console.log(pagerduty.errors); ``` #### Response ```json { "errors": [ { "message": "message", "code": 1000 } ], "messages": [ { "message": "message", "code": 1000 } ], "success": true } ```