---
title: "Custom Field"
method: DELETE
path: "/companies/{companyId}/customfields/{customfieldid}"
tags: ["Company"]
---

# Custom Field

`DELETE /companies/{companyId}/customfields/{customfieldid}`

## Request

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

Delete CustomField at the company level.

## Path parameters

- `companyId` string, required
- `customfieldid` string, required

## Response `204`

successful operation

## Other responses

- `400`: The value for the one of the field is invalid
- `401`: Unauthorized
- `403`: User doesn't have access to this endpoint (API-2), Client has been end dated (API-68)
- `404`: Invalid resource ID (API-7)
- `405`: Unsupported method type (API-59)
- `406`: Unsupported Accept header
- `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)
