---
title: "Delete Earning by Earning Code and Start Date"
method: DELETE
path: "/v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate}"
tags: ["Earnings"]
---

# Delete Earning by Earning Code and Start Date

`DELETE /v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate}`

## Request

- Base URL: `https://dc1demogw.paylocity.com/api`
- URL: `https://dc1demogw.paylocity.com/api/v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.paylocity.com/IdentityServer/connect/token` scopes: `WebLinkAPI`

Delete Earning by Earning Code and Start Date

## Path parameters

- `companyId` string, required
- `employeeId` string, required
- `earningCode` string, required
- `startDate` string, required

## Response `204`

Successfully deleted

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: The employee does not exist, or the specified earningCode-startDate combination does not exist
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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