Up - API Reference - Home
Requires JWT.
Delete the current account.
Note: Accounts cannot be deleted if they own any projects
This deletes the account and removes the user as a member from all projects.
THIS ACTION IS NOT RECOVERABLE!
Note: if the account used to own 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