Activating and deactivating users
GitLab administrators can deactivate and activate users.
Deactivating a user
Introduced in GitLab 12.4.
In order to temporarily prevent access by a GitLab user that has no recent activity, administrators can choose to deactivate the user.
Deactivating a user is functionally identical to blocking a user, with the following differences:
- It does not prohibit the user from logging back in via the UI.
- Once a deactivated user logs back into the GitLab UI, their account is set to active.
A deactivated user:
- Cannot access Git repositories or the API.
- Will not receive any notifications from GitLab.
- Will not be able to use slash commands.
Personal projects, and group and user history of the deactivated user will be left intact.
A user can be deactivated from the Admin Area. To do this:
- Navigate to Admin Area > Overview > Users.
- Select a user.
- Under the Account tab, click Deactivate user.
Please note that for the deactivation option to be visible to an admin, the user:
- Must be currently active.
- Must not have any signins or activity in the last 180 days.
Users can also be deactivated using the GitLab API.
Activating a user
Introduced in GitLab 12.4.
A deactivated user can be activated from the Admin Area.
To do this:
- Navigate to Admin Area > Overview > Users.
- Click on the Deactivated tab.
- Select a user.
- Under the Account tab, click Activate user.
Users can also be activated using the GitLab API.
Help and feedback
If there's something you don't like about this feature
To propose functionality that GitLab does not yet offer
To further help GitLab in shaping new features
If you didn't find what you were looking for
If you want help with something very specific to your use case, and can use some community support
POST ON GITLAB FORUM
If you have problems setting up or using this feature (depending on your GitLab subscription)
REQUEST SUPPORT
To view all GitLab tiers and features or to upgrade
If you want to try all features available in GitLab.com
If you want to try all features available in GitLab self-managed
If you spot an error or a need for improvement and would like to fix it yourself in a merge request
EDIT THIS PAGE
If you would like to suggest an improvement to this doc