Skip to content
OpenPostDocs
OpenPostDocs
Auth

Permanently delete the current account

DELETE/auth/account

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/auth/account" \  -H "Content-Type: application/json" \  -d '{    "confirm_email": "user@example.com",    "current_password": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/DeleteAccountOutputBody.json",  "deleted": true}