---
title: "Delete schema patch"
method: DELETE
path: "/schema/patch/{table}/{id}"
tags: ["Schema Patches"]
---

# Delete schema patch

`DELETE /schema/patch/{table}/{id}`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/schema/patch/{table}/{id}`
- Auth: API key in header `Authorization`

Deletes a patch. The patch must not be locked (applied) to be deleted.

## Path parameters

- `table` string, required
- `id` string, required

## Query parameters

- `account_id` string

## Response `204`

Patch deleted successfully

- ModelsApiResponse
  - `_meta` object: Response Metadata
  - `data` object: Response Payload
  - `request_id` string
  - `status` integer: HTTP Status Code

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/schema/patch/:table/:id/delete.md)

---

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