---
title: "Delete Field Definition"
method: DELETE
path: "/collections/{collectionId}/schema/{fieldDefinitionId}"
tags: ["Schema"]
---

# Delete Field Definition

`DELETE /collections/{collectionId}/schema/{fieldDefinitionId}`

## Request

- Base URL: `https://data.lucid.app`
- URL: `https://data.lucid.app/collections/{collectionId}/schema/{fieldDefinitionId}`
- Auth: OAuth 2
  - Authorization code: `https://lucid.app/oauth2/authorize`
  - Token URL: `https://api.lucid.co/oauth2/token` scopes: `data-service.admin`

This removes the field definition from the collection's schema. This results of this action cannot be undone. The delete will only occur if the user has access to the data source. This action will also remove all data item values associated with the deleted field.

## Path parameters

- `collectionId` integer, required
- `fieldDefinitionId` integer, required

## Response `200`

OK

---

[API](https://skmtc.dev/lucid/apis/lucid-data-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-data-api/revisions/c14ed29dbeab?raw)
