---
updatedAt: 2026-04-21T21:34:05.000Z
agentTools:
  projectIndex: https://docs.oneschema.co/llms.txt
---

# Delete an embed

Deletes an embed from OneSchema.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Importer Embeds",
    "version": "1",
    "contact": {
      "name": "OneSchema Support",
      "email": "support@oneschema.co"
    },
    "license": {
      "name": "proprietary",
      "url": "https://www.oneschema.co/terms-and-conditions"
    },
    "termsOfService": "https://www.oneschema.co/terms-and-conditions",
    "description": "An API for managing OneSchema Importer Embeds, including headless importer operations and embed events."
  },
  "tags": [
    {
      "name": "Importer Embeds",
      "description": "Importer Embed operations"
    }
  ],
  "paths": {
    "/v1/embeds/{embed_id}": {
      "delete": {
        "operationId": "delete-embed",
        "summary": "Delete an embed",
        "description": "Deletes an embed from OneSchema.",
        "parameters": [
          {
            "$ref": "#/components/parameters/EmbedIdDestroyPath"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteEmbedResponse"
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/empty-response"
                }
              }
            }
          }
        },
        "tags": [
          "Importer Embeds"
        ]
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "components": {
    "parameters": {
      "EmbedIdDestroyPath": {
        "name": "embed_id",
        "in": "path",
        "required": true,
        "description": "The id of the embed to destroy.",
        "schema": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "schemas": {
      "DeleteEmbedResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          }
        }
      },
      "empty-response": {
        "type": "object",
        "properties": {}
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.oneschema.co",
      "description": "Production server (hosted in the US)",
      "variables": {}
    },
    {
      "url": "https://api.eu.oneschema.co",
      "description": "Production server (hosted in the EU)",
      "variables": {}
    },
    {
      "url": "https://api.ca.oneschema.co",
      "description": "Production server (hosted in Canada)",
      "variables": {}
    },
    {
      "url": "https://api.au.oneschema.co",
      "description": "Production server (hosted in Australia)",
      "variables": {}
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```