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

# Close Own Account

> Close your account: destroy every face and all content, keep the ledger.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/account
openapi: 3.1.0
info:
  title: faces
  version: 0.101.0
servers: []
security: []
paths:
  /v1/account:
    delete:
      tags:
        - Account
      summary: Close Own Account
      description: 'Close your account: destroy every face and all content, keep the ledger.'
      operationId: close_own_account_v1_account_delete
      parameters:
        - name: confirm
          in: query
          required: true
          schema:
            type: string
            title: Confirm
        - name: cancel_subscription
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Cancel Subscription
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountCloseResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AccountCloseResult:
      properties:
        closed:
          type: boolean
          title: Closed
        subscription_cancelled:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Subscription Cancelled
        account_uid:
          type: string
          title: Account Uid
        was_username:
          anyOf:
            - type: string
            - type: 'null'
          title: Was Username
        was_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Was Email
        faces_deleted:
          items: {}
          type: array
          title: Faces Deleted
        released:
          additionalProperties: true
          type: object
          title: Released
        retained:
          items: {}
          type: array
          title: Retained
        archived_at:
          type: string
          title: Archived At
        conversations_deleted:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Conversations Deleted
      type: object
      required:
        - closed
        - account_uid
        - faces_deleted
        - released
        - retained
        - archived_at
      title: AccountCloseResult
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.