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

# Delete the authenticated user account (self-service)

> GDPR-compliant soft delete: anonymises the user row (preserves the audit trail on invoices/tickets/audit logs) and revokes all sessions. Refused while the user has active services or unpaid invoices - they must settle those first. Requires confirming the account email.



## OpenAPI

````yaml /openapi.json delete /v1/auth/me
openapi: 3.0.0
info:
  title: OneSubnet Core API
  description: >-
    OneSubnet hosting panel API. Toutes les routes sont préfixées par /v1/
    (versioning URI). Les routes Panel sont appelées par le daemon Wings, pas
    par les clients. Les routes Admin nécessitent le rôle admin.
  version: '1.0'
  contact: {}
servers: []
security: []
tags:
  - name: Auth & Users
    description: Authentification, profil, gestion utilisateurs
  - name: Store
    description: 'Boutique: catégories, produits, panier'
  - name: Billing
    description: Facturation, checkout Stripe, webhooks
  - name: Services
    description: Services hébergés (enregistrements facturation)
  - name: Affiliation
    description: Parrainage et commissions
  - name: Notifications
    description: Notifications
  - name: Admin - RBAC
    description: Gestion des rôles, permissions, groupes
  - name: Admin - Store & Invoices
    description: CRUD produits, plans, coupons, factures
  - name: Admin - Settings & Tenants
    description: Configuration, multi-tenant, whitelabel
  - name: Admin - Audit
    description: Journal d'audit des requêtes
  - name: System
    description: Health, meta-info
paths:
  /v1/auth/me:
    delete:
      tags:
        - Auth & Users
      summary: Delete the authenticated user account (self-service)
      description: >-
        GDPR-compliant soft delete: anonymises the user row (preserves the audit
        trail on invoices/tickets/audit logs) and revokes all sessions. Refused
        while the user has active services or unpaid invoices - they must settle
        those first. Requires confirming the account email.
      operationId: AuthProfileController_deleteMyAccount_v1
      parameters: []
      responses:
        '200':
          description: ''
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

## Related topics

- [Set the account type (self-service)](/api-reference/auth-&-users/set-the-account-type-self-service.md)
- [Assign an account type to a user (admin)](/api-reference/auth-&-users/assign-an-account-type-to-a-user-admin.md)
- [Get the authenticated user profile](/api-reference/auth-&-users/get-the-authenticated-user-profile.md)
- [Update the authenticated user profile](/api-reference/auth-&-users/update-the-authenticated-user-profile.md)
- [Upsert the authenticated user billing address](/api-reference/auth-&-users/upsert-the-authenticated-user-billing-address.md)
