Skip to content

Commit c00a494

Browse files
Unaffiliated users can self-remove from an enterprise (#58575)
Co-authored-by: Laura Coursen <lecoursen@github.com>
1 parent 3d9e2f9 commit c00a494

File tree

5 files changed

+50
-3
lines changed

5 files changed

+50
-3
lines changed
53.1 KB
Loading

content/account-and-profile/how-tos/organization-membership/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ children:
1919
- /requesting-organization-approval-for-oauth-apps
2020
- /publicizing-or-hiding-organization-membership
2121
- /removing-yourself-from-an-organization
22+
- /removing-yourself-from-an-enterprise
2223
shortTitle: Organization membership
2324
contentType: how-tos
2425
---
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Removing yourself from an enterprise
3+
intro: You can leave an enterprise after removing yourself from every organization in the enterprise.
4+
versions:
5+
fpt: '*'
6+
ghec: '*'
7+
topics:
8+
- Accounts
9+
shortTitle: Leave an enterprise
10+
contentType: how-tos
11+
---
12+
13+
If your personal {% data variables.product.github %} account is a member of an enterprise, you can leave the enterprise at any time.
14+
15+
After leaving an enterprise, you will no longer be a member of any organization in the enterprise, and you will lose {% data variables.product.prodname_copilot %} licenses and other privileges granted through the enterprise.
16+
17+
>[!NOTE] If you use a {% data variables.enterprise.prodname_managed_user %} provided by your enterprise, only administrators can remove you from the enterprise. You're using a {% data variables.enterprise.prodname_managed_user %} if all usernames in your enterprise end with a pattern like `_CODE`, or if you access the enterprise at a domain like `{% data variables.enterprise.data_residency_example_domain %}`.
18+
19+
## Leaving an enterprise
20+
21+
To leave an enterprise, you must remove yourself from every organization in the enterprise, then leave the enterprise itself.
22+
23+
1. Leave every organization in the enterprise.
24+
1. Go to the [Enterprises](https://github.com/settings/enterprises) page in your settings.
25+
1. Click the enterprise you want to leave, then click the **Organizations** tab.
26+
1. Use the **Your role** dropdown to see the organizations that you're a member of.
27+
1. Leave each organization by following the instructions in [AUTOTITLE](/account-and-profile/how-tos/organization-membership/removing-yourself-from-an-organization).
28+
1. Go back to the [Enterprises](https://github.com/settings/enterprises) page and check if the enterprise is still listed. If it is **not** listed, you have left the enterprise.
29+
1. If the enterprise **is** still listed, check your role for the enterprise and take the appropriate action to leave:
30+
31+
* If you're an **unaffiliated member**, next to the enterprise name, click **Leave**.
32+
* If you're an **owner**, you must go to the enterprise settings and remove yourself. See [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise#removing-an-enterprise-administrator-from-your-enterprise-account).
33+
* If you're a **billing manager**, you must ask an enterprise owner to remove you using the instructions in [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise#removing-an-enterprise-administrator-from-your-enterprise-account).
34+
35+
![Screenshot of the enterprises page. Next to "unaffilated member", the "Leave" button is highlighted with an orange outline.](/assets/images/help/enterprises/enterprise-self-removal.png)

content/account-and-profile/how-tos/organization-membership/removing-yourself-from-an-organization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ contentType: how-tos
3030
{% data reusables.user-settings.access_settings %}
3131
{% data reusables.user-settings.organizations %}
3232
1. Under "Organizations", next to the organization you'd like to remove yourself from, click **Leave**.
33+
34+
{% ifversion fpt or ghec %}
35+
36+
If you remove yourself from every organization in an enterprise, you may also be automatically removed from the enterprise account. If you haven't been removed and want to leave an enterprise, see [AUTOTITLE](/account-and-profile/how-tos/organization-membership/removing-yourself-from-an-enterprise).
37+
38+
{% endif %}

content/admin/managing-accounts-and-repositories/managing-roles-in-your-enterprise/abilities-of-roles.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,17 @@ If a user is a member or owner of any organization, they are listed as an **orga
124124

125125
### Unaffiliated users
126126

127-
If a user is not a member of any organization, they are listed as an **unaffiliated user**. These users:
127+
If a user is not a member of any organization, and doesn't have the enterprise owner or billing manager role, the user is listed as an unaffiliated user.
128128

129-
* Do not consume a {% data variables.product.prodname_enterprise %} license.
129+
Unaffiliated users:
130+
131+
* Do not consume a {% data variables.product.prodname_enterprise %} license, unless they meet another criterion listed in [AUTOTITLE](/billing/reference/github-license-users#organizations-on-github-enterprise-cloud).
130132
* Cannot access private or internal repositories.
131133
* Can be added as members of enterprise teams.
132-
* Can receive a {% data variables.product.prodname_copilot_short %} license directly from your enterprise.
134+
* Can receive a {% data variables.product.prodname_copilot_short %} license or custom role directly from your enterprise.
135+
* Can remove themselves from the enterprise at any time, unless you use {% data variables.product.prodname_emus %}.
136+
137+
If you have an enterprise with personal accounts, you can disable this role. See [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/control-offboarding).
133138

134139
{% endif %}
135140

0 commit comments

Comments
 (0)