Skip to main content
DELETE
/
api
/
account
Delete user account
curl --request DELETE \
  --url https://macrobymark.com/api/account \
  --header 'Content-Type: application/json' \
  --cookie next-auth.session-token= \
  --data '
{
  "confirmation": "DELETE"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

next-auth.session-token
string
cookie
required

NextAuth.js session cookie

Body

application/json
confirmation
enum<string>
required
Available options:
DELETE

Response

200

Account deleted