API referenceAuth
Disable Account
Disable the caller's own account, proven by the current password; no route enables it again.
POST
/api/v1/users/me/disableDisable the caller's own account, proven by the current password; no route enables it again.
AuthorizationBearer <token>
A workspace API key (a13n_...)
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/users/me/disable" \ -H "Content-Type: application/json" \ -d '{ "current_password": "pa$$word" }'Empty