---
title: "Delete"
method: DELETE
path: "/extraction_schemas/{nameOrId}"
tags: ["extractionSchemas"]
---

# Delete

`DELETE /extraction_schemas/{nameOrId}`

Deletes an extraction schema by name or ID.

## Path parameters

- `nameOrId` string, required

## Query parameters

- `project` string

## Headers

- `Authorization` string, required

## Response `200`

Success response

- ExtractionSchemasDeleteResponse200
  - `success` boolean, required — Whether the extraction schema was deleted successfully.

## Other responses

- `404` — Extraction schema not found

---

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