---
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

## Response `200`

OK

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

## Other responses

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

---

[API](https://skmtc.net/dualentry/apis/dualentry-public-api-2.md) · [All operations](https://skmtc.net/dualentry/apis/dualentry-public-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api-2/versions/77cd3c6ec719/schema)
