Delete a user
Deleting a user removes the user account itself from a self-hosted Coolify instance. This is different from removing a member, which only ends a person's membership in the active team while their account stays available.
If Coolify still has a working connection to the user's servers, deleting the user also deletes all resources on those servers, not only the records in Coolify's database.
Before you delete a user
- You must be an Owner or Admin of the
rootteam, which makes you an instance administrator. - You cannot delete the
rootuser, your own account, or a user with a higher role in therootteam than yours. A user who is alone in therootteam also cannot be deleted. - Confirm which teams the user belongs to and what resources those teams own.
Delete the user
- Select Team in the Coolify sidebar, then select Admin View. The Instance users list shows every user except you.
- Find the user, then select the trash icon (Delete user) in their row.
- In the Confirm User Deletion? dialog, enter the user name and your password to confirm.
What happens during deletion
Coolify revokes the API tokens of the user. Then it applies these rules to every team that the user belongs to:
The user is alone in the team
The team and all of its resources are deleted from both the servers and Coolify's database.
The user is not alone in the team
-
The user is an Owner, and another Owner or Admin is in the team:
- The user is removed from the team. No resources are deleted.
-
The user is an Owner, and no other Owner or Admin is in the team:
- The first person with the Member role becomes an Owner.
- The user is removed from the team. No resources are deleted.
-
The user is an Admin or a Member:
- The user is removed from the team. No resources are deleted. Ownership does not change.
Delete your own account
Use Profile and account deletion to delete your own account. The team admin view does not let you delete your own account, the root user, or a user with a higher role in the root team. For example, a root team Admin cannot delete a root team Owner.
