Skip to main content

Overview

Permanently deletes the account of the currently authenticated user.
This action is permanent and cannot be undone. All user data — including profile information, spaces, contributions, and stats — is immediately and irreversibly deleted.

Endpoint

DELETE /api/profile/account
Requires authentication. Requests are made with a Bearer token via the Authorization header.

Request

This endpoint takes no request body or query parameters.

Response

message
string
A confirmation message indicating the account was deleted.

Example

TypeScript
import { deleteAccount } from "./api/Profile";

const response = await deleteAccount();

console.log(response.message);