---
title: "Delete Custom Entity Definition"
method: DELETE
path: "/custom_entity_definition"
tags: ["Custom Entity Definition"]
---

# Delete Custom Entity Definition

`DELETE /custom_entity_definition`

Delete an existing custom entity definition

## Query parameters

- `select` string
- `id` string
- `created_at` string
- `updated_at` string
- `organisation_id` string
- `key` string
- `name` string
- `schema` string

## Response `200`

The updated Custom Entity Definition object

- CustomEntityDefinition
  - `id` string, uuid — Custom entity definition ID
  - `created_at` string, timestamp with time zone — Creation date
  - `updated_at` string, timestamp with time zone — Latest update
  - `organisation_id` string, uuid — Organisation ID
  - `key` string, text — Unique key for the custom entity definition
  - `name` string, text — Name of the custom entity definition
  - `schema` object — JSON Schema defining the custom entity data structure

## Other responses

- `204` — No Content

---

[API](https://skmtc.dev/getmateo/apis/mateo-api.md) · [All operations](https://skmtc.dev/getmateo/apis/mateo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getmateo/mateo-api/revisions/22a9b3b009d1/schema)
