If a user should no longer have access to a database (for example, if they have left your organization), you can deactivate them. Deactivating a user will deny them access to your database while maintaining their history. This means that administrators will still be able to see any actions the user took on the database. To maintain the integrity of historical data, we recommend deactivating a user rather than deleting them.
Deactivated users do not require a license. Thus, deactivating a user will free up a license that you can then assign to another user.
How to deactivate a user in your database
First, you will need to create a role that has no permissions granted.
On the Database List page, click on the Database from which you wish to delete a user.
Click on "Database settings" to open the Database Settings page.
Go to “Roles”.
Click on “Add role” to create a new role. You can name this role as “Deactivated”.
In this role, add a grant to the entire database and leave all the permitted operations unchecked. This will effectively deny the role access to your entire database.
Next, assign the user to the “Deactivated” role.
Click on "User management" to open the User management section and find the user in the list of users.
Click on the user to select them and then click on the "Deactivated" role in the side panel under “Permissions”.
The user has now been deactivated and will no longer count towards your subscription account’s license allocation.