---
title: "Delete an external payroll"
method: DELETE
path: "/v1/companies/{company_uuid}/external_payrolls/{external_payroll_id}"
tags: ["External Payrolls"]
---

# Delete an external payroll

`DELETE /v1/companies/{company_uuid}/external_payrolls/{external_payroll_id}`

## Request

- Base URL: `https://api.gusto-demo.com`
- URL: `https://api.gusto-demo.com/v1/companies/{company_uuid}/external_payrolls/{external_payroll_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gusto/apis/gusto-api/docs/v1/companies/:company_uuid/external_payrolls/:external_payroll_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete an external payroll.

scope: `external_payrolls:write`

## Path parameters

- `company_uuid` string, required
- `external_payroll_id` string, required

## Headers

- `X-Gusto-API-Version` '2026-06-15'

## Response `204`

No Content

## Other responses

- `404`: Not Found The requested resource does not exist. Make sure the provided UUID is valid.
- `422`: Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details.

---

[API](https://skmtc.dev/gusto/apis/gusto-api.md) - [All operations](https://skmtc.dev/gusto/apis/gusto-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gusto/apis/gusto-api/revisions/f98575fa2a5e?raw)
