Up - API Reference - Home
Requires JWT.
Delete the current account.
USE WITH CARE!
This deletes the account, all projects and assets owned by the account, and removes the user from any memberships of other projects.
THIS ACTION IS NOT RECOVERABLE!
Note: if the account owned projects, some information is kept for administrative purposes.
POST /api/account/delete
Authorization: Bearer <JWT>
{
"confirm": true,
}
confirm
You must confirm the delete action - it is not recoverable.
Authorization: <JWT>
{
"success": true,
"result": {},
"data": {}
}
There is no result info or data in the response because the account no longer exists.
Note: you'll get an updated JWT to reflect the deleted account.
user
is the user gid for the deleted account.
400
Bad request - missing argument
401
Unauthorized - missing or expired JWT
422
Unprocessable Entity - deletion failed