---
title: "Delete schema"
method: DELETE
path: "/v4/schemas/{schemaId}"
tags: ["Schemas"]
---

# Delete schema

`DELETE /v4/schemas/{schemaId}`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v4/schemas/{schemaId}`
- Auth: API key in header `x-api-key`

Delete a schema and all its revisions

## Path parameters

- `schemaId` string, required

## Response `200`

200

- DeleteSchemaResponse: Response for schema deletion
  - `error` false, required: Error flag (always false on success)
  - `success` boolean, required: Success flag
  - `message` string, required: Success message

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `500`: 500

---

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