---
title: "Delete a custom field"
method: DELETE
path: "/v1/custom-fields/{customFieldId}"
tags: ["custom-fields"]
---

# Delete a custom field

`DELETE /v1/custom-fields/{customFieldId}`

Permanently delete a custom field definition and remove its values from all contacts.

## Path parameters

- `customFieldId` string, uuid, required

## Response `200`

Successful response

- object
  - `error` boolean, required
  - `message` string, required

## Other responses

- `400` — Request body failed validation.
- `401` — Missing or invalid API key.
- `403` — Valid key, insufficient permission.
- `404` — Resource does not exist.
- `409` — Request conflicts with the current state of the resource.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

## Changes

> 17 revisions in range; 1 could not be searched.

- **2026-08-27** `a2f71a243839` — 2 info
  - api operation id `deleteCustomFieldV1` was added
  - added the non-success response with the status `409`
- **2026-08-26** `d7a4e2554573` — 2 breaking
  - added the pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$` to the `path` request parameter `customFieldId`
  - for the `path` request parameter `customFieldId`, the type/format was changed from `string`/`` to `string`/`uuid`

[Change history](https://skmtc.dev/getdex/apis/dex-public-api/changes/v1/custom-fields/:customFieldId/delete.md)

---

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