---
title: "Delete Contract custom field by Id"
method: DELETE
path: "/contracts/{contract_id}/custom_fields/{id}"
tags: ["customFieldsContracts"]
---

# Delete Contract custom field by Id

`DELETE /contracts/{contract_id}/custom_fields/{id}`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/custom_fields/{id}`
- Auth: HTTP bearer

Clears the value of a custom field on the specified contract, identified by the custom field `id`. Use it when the value no longer applies to the contract or was set by mistake. The cleared value is deleted and cannot be restored; to give the field a value again, set it with `PUT /rest/contracts/{contract_id}/custom_fields`.

 **Token scopes**: `contracts:write`

## Path parameters

- `id` string, uuid, required
- `contract_id` string, uuid, required

## Response `204`

Successful response

- object

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

## Changes

- **2026-11-27** `752604713903`: 2 warning, 2 info
  - removed the optional property `errors/items/path` from the response with the `400` status
  - removed the optional property `request` from the response with the `400` status
  - added the optional property `errors/items/code` to the response with the `400` status
  - added the optional property `errors/items/field` to the response with the `400` status

[Operation history](https://skmtc.dev/deel/apis/hris-endpoints/changes/contracts/:contract_id/custom_fields/:id/delete.md)

---

[API](https://skmtc.dev/deel/apis/hris-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/hris-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/hris-endpoints/revisions/b7b456c45a40?raw)
