---
title: "Delete custom field"
method: DELETE
path: "/public/v1/custom-fields/{custom_field_id}/"
tags: ["Custom Fields"]
---

# Delete custom field

`DELETE /public/v1/custom-fields/{custom_field_id}/`

Delete a custom field definition. Fails with 422 if any record already has a value stored against this field — clear those values first, or archive the field via `is_active=false` instead.

## Path parameters

- `custom_field_id` integer, required

## Headers

- `Idempotency-Key` string

## Response `200`

OK

- SuccessSchema
  - `success` true
  - `errors` object

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Unprocessable Content
- `500` — Internal Server Error

## Changes

> 14 revisions in range; 3 could not be searched.

- **2026-08-12** `af0ec77e5277` — 1 info
  - added the new optional `header` request parameter `Idempotency-Key`

[Change history](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/changes/public/v1/custom-fields/:custom_field_id/delete.md)

---

[API](https://skmtc.dev/dualentry/apis/dualentry-public-api-2.md) · [All operations](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api-2/revisions/d0cd912ee42d/schema)
