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

# Delete Account

> Irreversible. Cancels the active Stripe subscription, deletes all data across every table for this account, removes all team members from the users table, purges all S3 media files, and deletes all Supabase Auth users. Requires the account owner's email address in the `confirm_email` field as a confirmation gate (case-insensitive match against the authenticated user's email).



## OpenAPI

````yaml https://api.oviond.com/openapi.json delete /v1/account
openapi: 3.1.0
info:
  title: Oviond Backend API
  version: 1.0.0
  description: Authentication, account management, billing, and media services for Oviond.
  x-logo:
    url: https://app.oviond.com/img/oviond-full-logo.svg
    altText: Oviond
servers:
  - url: https://api.oviond.com
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /v1/account:
    delete:
      tags:
        - Account
      summary: Delete Account
      description: >-
        Irreversible. Cancels the active Stripe subscription, deletes all data
        across every table for this account, removes all team members from the
        users table, purges all S3 media files, and deletes all Supabase Auth
        users. Requires the account owner's email address in the `confirm_email`
        field as a confirmation gate (case-insensitive match against the
        authenticated user's email).
      operationId: delete_account
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteAccountRequest'
      responses:
        '200':
          description: Account deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAccountResponse'
        '401':
          description: Unauthorized, API-key auth, or confirmation email does not match
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '404':
          description: Account or user not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
components:
  schemas:
    DeleteAccountRequest:
      type: object
      properties:
        confirm_email:
          type: string
          minLength: 1
          description: >-
            The signed-in account owner's email address, as a confirmation gate
            for this irreversible deletion. Matched case-insensitively against
            the authenticated user's email. This is NOT a password.
          example: jane@example.com
      required:
        - confirm_email
    DeleteAccountResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        message:
          type: string
      required:
        - success
        - message
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Oviond API key (prefix `oviond_`) sent as a Bearer token — the
        credential for REST/programmatic and headless integrations. Manage keys
        in Settings → API Keys. API keys do NOT authenticate the MCP endpoint
        (/mcp), which uses OAuth 2.1 + PKCE.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Supabase-issued JWT used by the Oviond web app session. External API
        consumers should authenticate with an Oviond API key (ApiKeyAuth)
        instead.

````