> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invaro.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Schema

> Permanently deletes a schema. Cannot be undone.

## Path Parameters

<ParamField path="schema_id" type="string" required>
  The unique identifier of the schema to delete.
</ParamField>

## Response

```json Success Response (200) theme={null}
{
  "success": true,
  "data": {
    "message": "Schema deleted successfully"
  }
}
```

## Examples

### Delete a Schema

```bash Curl theme={null}
curl -X DELETE "https://api.invaro.ai/api/v1/schemas/id/b3376c85-86e0-476e-aee9-5f05afaa05ea" \
  -H "Authorization: Bearer your_api_key"
```


## OpenAPI

````yaml DELETE /api/v1/schemas/id/{schema_id}
openapi: 3.0.0
info:
  title: Invaro Document Processing API
  description: API for processing bank statements and invoices using OCR and AI
  version: 1.0.0
  contact:
    name: Invaro Support
    email: support@invaro.ai
    url: https://docs.invaro.ai
servers:
  - url: https://api.invaro.ai/api/v1
    description: Production API
security:
  - bearerAuth: []
paths:
  /api/v1/schemas/id/{schema_id}:
    parameters:
      - name: schema_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The unique identifier of the schema.
    delete:
      tags:
        - Schema Management
      summary: Delete Schema
      description: Permanently deletes a schema. Cannot be undone.
      operationId: deleteSchema
      responses:
        '200':
          description: Schema deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        example: Schema deleted successfully
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````