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

# Request account deletion

> Initiates the account deletion process for the authenticated user. Sends a confirmation to the user and queues the deletion request for processing.

The account is not deleted immediately — a confirmation step may be required depending on configuration.



## OpenAPI

````yaml /developers/openapi/identity.openapi.json get /api/v1/users/{user_uuid}/request-deletion
openapi: 3.1.0
info:
  title: Identity API
  version: '1.0'
  description: >-
    The **Identity API** handles user identity on the anny platform. It runs on
    a dedicated auth service (`auth.anny.co`) separate from the booking API.


    Use the Identity API to:


    - **Detect login method** for a domain — determine whether a user should log
    in with a password, SSO redirect, or another protocol before starting the
    auth flow

    - **Update user profiles** — change name, contact details, locale, and
    timezone for authenticated users

    - **Request account deletion** — initiate GDPR-compliant deletion for a user


    ---


    ## Authentication


    All protected endpoints require a Bearer token in the `Authorization`
    header:


    ```

    Authorization: Bearer {access_token}

    ```


    Tokens are issued via OAuth2 or as Personal Access Tokens (PATs) from the
    admin dashboard.


    ## Related Guide


    [Authentication](/developers/guides/authentication) — full guide to tokens,
    OAuth2 flows, and client registration.


    ---


    ## Base URLs


    | Environment | URL |

    |---|---|

    | Production | `https://auth.anny.co` |

    | Gov-Cloud | `https://auth.anny.eu` |

    | Staging | `https://auth.staging.anny.co` |
  contact:
    name: anny GmbH
    url: https://anny.co
    email: support@anny.co
servers:
  - url: https://auth.anny.co
    description: Production
  - url: https://auth.anny.eu
    description: Gov-Cloud
  - url: https://auth.staging.anny.co
    description: Staging
security: []
tags:
  - name: Auth
paths:
  /api/v1/users/{user_uuid}/request-deletion:
    parameters:
      - schema:
          type: string
          format: uuid
        name: user_uuid
        in: path
        required: true
        description: UUID of the user requesting deletion
    get:
      tags:
        - Auth
      summary: Request account deletion
      description: >-
        Initiates the account deletion process for the authenticated user. Sends
        a confirmation to the user and queues the deletion request for
        processing.


        The account is not deleted immediately — a confirmation step may be
        required depending on configuration.
      operationId: get-users-record-request-deletion
      parameters:
        - schema:
            type: string
          in: header
          name: Authorization
          description: Bearer Token
          required: true
      responses:
        '200':
          description: OK — deletion request initiated
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: OAuth2 access token or Personal Access Token

````