getting-started: add account deletion docs
Myles Borins committed
May 31, 2021 at 18:36 UTC
03d08fe230f8eeac48ea966ff38803288c041af3
5 files changed
+26
-1
content/getting-started/managing-your-npm-user-account/deleting-your-npm-user-account.mdx
+22
-1
@@ -3,5 +3,26 @@ title: Deleting your npm user account
3
---
4
import shared from '../../../src/shared.js'
5
6
-<>To delete your npm user account, {shared['contact-support'].text}</>.
6
+From the web, you can delete your npm user account.
7
8
+1. <>{shared['user-login'].text}</>
9
+
10
+ <>{shared['user-login'].image}</>
11
+
12
+2. <>{shared['account-settings'].text}</>
13
+
14
+ <>{shared['account-settings'].image}</>
15
+
16
+3. On this page, you will find a button to delete your account. Click that.
17
+
18
+ <Screenshot src="/getting-started/managing-your-npm-user-account/delete-your-account.png" alt="Screenshot of button to press to delete your account" />
19
+
20
+4. You will now be presented with an overview of how many npm packages will be deleted and deprecated as part of your account deletion. If you agree with this, then enter your username and click "Delete this account".
21
+
22
+ <Screenshot src="/getting-started/managing-your-npm-user-account/account-deletion-confirmation.png" alt="Screenshot of the confirmation screen to delete an account." />
23
+
24
+5. You will be immediately logged out, and will not be able to log back in.
25
+
26
+In some cases, you will be presented with an error if we were unable to automatically delete your account. For example. if you are the sole owner of an organization you will need to add an additional owner before your account can be deleted. You will be presented clear instructions of what you will need to do in order to delete your account.
27
+
28
+<>If you are in doubt about deleting your account, {shared['contact-support'].text}</>.
src/shared.js
+4
@@ -18,6 +18,10 @@ const shared = {
18
'text': (<>In the upper right corner of the page, click your profile picture, then click <strong>Profile Settings</strong>.</>),
19
'image': (<Screenshot src="/shared/profile-settings.png" alt="Screenshot of profile settings selection in user menu" />)
20
},
21
+ 'account-settings': {
22
+ 'text': (<>In the upper right corner of the page, click your profile picture, then click <strong>Account</strong>.</>),
23
+ 'image': (<Screenshot src="/shared/account-settings.png" alt="Screenshot of account settings selection in user menu" />)
24
+ },
25
26
/* Billing */
27
'billing-creditcard-form': {
static/getting-started/managing-your-npm-user-account/account-deletion-confirmation.png
Binary files /dev/null and b/static/getting-started/managing-your-npm-user-account/account-deletion-confirmation.png differ
static/getting-started/managing-your-npm-user-account/delete-your-account.png
Binary files /dev/null and b/static/getting-started/managing-your-npm-user-account/delete-your-account.png differ
static/shared/account-settings.png
Binary files /dev/null and b/static/shared/account-settings.png differ