---
title: "Worker Pay Component"
method: DELETE
path: "/workers/{workerId}/paycomponents/{workerComponentId}"
tags: ["Worker"]
---

# Worker Pay Component

`DELETE /workers/{workerId}/paycomponents/{workerComponentId}`

## Request

- Base URL: `https://api.paychex.com`
- URL: `https://api.paychex.com/workers/{workerId}/paycomponents/{workerComponentId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/paychex/apis/external-api/docs/workers/:workerId/paycomponents/:workerComponentId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a specific pay component that a "Active" worker has.

## Path parameters

- `workerId` string, required
- `workerComponentId` string, required

## Response `204`

Successful operation

## Other responses

- `400`: The request cannot be performed since the worker is in a state which does not allow this action(API-19)
- `401`: Unauthorized
- `403`: User doesn't have access to this endpoint (API-2), Client has been end dated (API-68), Cannot delete the worker pay component if you created it today, please try to delete it tomorrow (API-73)
- `404`: Invalid resource ID (API-7)
- `405`: Unsupported method type (API-59)
- `406`: Unsupported Accept header
- `422`: Future pay component cannot be deleted (API-45)
- `500`: Internal Server Error.

---

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