> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Post v1accountprivacydeletion

> Records a deletion request and nothing else. The retention workflow an operator already governs is what deletes, so an irreversible action never happens on the strength of one browser session. It needs a recent sign-in, and answers 202 because the work has been accepted rather than done.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml post /v1/account/privacy/deletion
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/account/privacy/deletion:
    post:
      tags:
        - account
      description: >-
        Records a deletion request and nothing else. The retention workflow an
        operator already governs is what deletes, so an irreversible action
        never happens on the strength of one browser session. It needs a recent
        sign-in, and answers 202 because the work has been accepted rather than
        done.
      operationId: requestAccountDeletion
      parameters:
        - $ref: '#/components/parameters/CSRFToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - confirm
                - reason
              properties:
                confirm:
                  type: boolean
                  enum:
                    - true
                reason:
                  type: string
                  minLength: 1
      responses:
        '202':
          description: Requested
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDeletion'
        '401':
          $ref: '#/components/responses/Problem'
        '409':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    CSRFToken:
      in: header
      name: X-CSRF-Token
      required: true
      description: >-
        Echoes the token from the current session. Required on every unsafe
        method.
      schema:
        type: string
  schemas:
    AccountDeletion:
      type: object
      required:
        - pending
        - executedBy
      properties:
        pending:
          type: boolean
        requestedAt:
          type: string
          format: date-time
        cancelledAt:
          type: string
          format: date-time
        reason:
          type: string
        executedBy:
          type: string
          description: >-
            Who actually deletes. The panel records the request; the retention
            workflow carries it out.
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

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