Delete your own account
Deletes the signed-in user's account and signs out every session. A workspace in which the caller is the only member is deleted with it. The request is refused while the caller is the only owner of a workspace that has other members, until ownership is transferred. The caller must have completed a two-factor step-up on this session within the last five minutes.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request to delete the signed-in user's own account. Requires a two-factor step-up in the last 5 minutes.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.goldmine.to/accounts.v1.Accounts/DeleteMyAccount" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": "failed_precondition",
"message": "The request cannot be carried out in the current system state."
}{
"code": "unauthenticated",
"message": "The request lacks a valid API key in the Authorization header."
}{
"code": "permission_denied",
"message": "The API key is not allowed to perform this action on this workspace."
}{
"code": "internal",
"message": "An internal server error occurred."
}AdministratorCreateUser
Administrator-only provisioning of a user record with the given display name and email. Creates no credential or sign-in session; self-service registration uses Register or Discord OAuth.
GetUser
Returns the user account identified by the given ID, including display name, email, and account status.