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

# Request account and data deletion (GDPR Right to be Forgotten)

> Submit a request to permanently delete your account and all associated personal data. You may cancel the request while it is still pending.



## OpenAPI

````yaml /openapi.json post /api/data-privacy/deletion-request
openapi: 3.0.0
info:
  title: g-tateth CRM API
  version: 1.1.0
  description: >-
    RESTful API for g-tateth CRM platform. Manage conversations, customers,
    users, and more.
  contact:
    name: g-tateth Support
    email: support@g-tateth.com
  license:
    name: Proprietary
servers:
  - url: https://api.g-tateth.com
    description: Production server
  - url: https://staging-api.g-tateth.com
    description: Staging server
security: []
tags:
  - name: Health
    description: API health and status check (no authentication required)
  - name: Authentication
    description: API key and JWT authentication
  - name: API Keys
    description: Create and manage your tenant API keys (requires JWT session)
  - name: Conversations
    description: Manage customer conversations (supports API key or JWT)
  - name: Customers
    description: Manage customer profiles (supports API key or JWT)
  - name: Webhooks
    description: Subscribe to real-time events via webhooks (supports API key or JWT)
  - name: Analytics
    description: Usage analytics and performance metrics (supports API key or JWT)
  - name: Data Privacy
    description: >-
      GDPR data rights endpoints — export, deletion, access, rectification,
      restriction, and objection requests (requires JWT session)
  - name: Widget
    description: Chat widget API endpoints (public — no authentication required)
  - name: Telephony
    description: Voice and phone API endpoints
  - name: Zoho Integration
    description: Zoho CRM integration and data import endpoints
paths:
  /api/data-privacy/deletion-request:
    post:
      tags:
        - Data Privacy
      summary: Request account and data deletion (GDPR Right to be Forgotten)
      description: >-
        Submit a request to permanently delete your account and all associated
        personal data. You may cancel the request while it is still pending.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                reason:
                  type: string
                  description: Optional reason for the deletion request
                  example: I no longer use this service
      responses:
        '200':
          description: Deletion request submitted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: >-
                      Data deletion request submitted successfully. You will
                      receive an email confirmation shortly.
                  request:
                    $ref: '#/components/schemas/DataPrivacyRequestSummary'
        '400':
          description: Bad request (e.g. a pending deletion request already exists)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
      security:
        - BearerAuth: []
components:
  schemas:
    DataPrivacyRequestSummary:
      type: object
      description: Summary of a submitted data deletion request
      properties:
        id:
          type: string
          example: 64a1b2c3d4e5f6789012345a
        status:
          type: string
          enum:
            - pending
            - processing
            - completed
            - rejected
            - cancelled
          example: pending
        requestedAt:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: Error message
        code:
          type: string
          example: ERROR_CODE
  responses:
    UnauthorizedError:
      description: Authentication required or credentials are invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error: Authentication required
            code: AUTH_REQUIRED
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT session token authentication. Use for user-context requests. The
        token is returned by the login endpoint and expires after 15 minutes.

````