Delete User

Deletes the authenticated user including all their data and messages.

Headers
  • Authorization
    Type: string
    required

    JWT Bearer token. Format: Bearer <JWT>

Responses
  • 200

    User deleted successfully.

  • application/json
Request Example for delete/api/user/deleteUser
curl https://demo.api.whispchat.com/api/user/deleteUser \
  --request DELETE \
  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9...' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body