---
title: "Delete Fields"
method: DELETE
path: "/v0/logs/fields"
tags: ["Logs"]
---

# Delete Fields

`DELETE /v0/logs/fields`

Deletes one or more fields from a project. This will:
1. Remove the field from LogEvent.data for all matching log events
2. Delete the field type records for those fields

This operation cannot be undone, so use with caution.

## Request body

- DeleteFieldsRequest
  - `project_name` string, required — Name of the project the fields belong to.
  - `context` string, nullable — Optional context path for the fields.
  - `fields` string[], required — List of field names to delete.

## Response `200`

Fields deleted successfully

- unknown

## Other responses

- `404` — Project or context not found
- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/revisions/900377f918b6/schema)
