Skip to main content
Tenant administrators can block users to prevent them from accessing applications (and unblock them to allow access again). If a blocked user tries to log in to an application, they are redirected to the callback URL with the following error parameters:
This event is also recorded in your tenant logs as a Failed Login (f) event with the description user is blocked.

Add tenant administrator blocks

To add a tenant administrator block using the Auth0 Dashboard:
  1. Go to the Dashboard > User Management > Users.
  2. Select the name of the user you want to block.
  3. On the Details tab, next to Block user, select Block.
This option is also available in the … menu to the right of the user’s name. To add a tenant administrator block using the Management API, use the Update a User endpoint (PATCH /users/{id}) to set the user’s blocked attribute to true.

Remove tenant administrator blocks

When a tenant administrator blocks a user, the block does not expire automatically. A tenant administrator must unblock the user to restore their access to applications.
Brute-force protection blocks are handled separately from tenant administrator blocks. Learn more about removing brute-force protection blocks.
To remove a tenant administrator block using the Auth0 Dashboard:
  1. Go to the Dashboard > User Management > Users.
  2. Select the name of the user with the tenant administrator block.
  3. On the Details tab, next to Block user, select Unblock.
This option is also available in the … menu to the right of the user’s name. To remove a tenant administrator block using the Management API, use the Update a User endpoint (PATCH /users/{id}) to set the user’s blocked attribute to false. If you use the Management API to reset a user’s password, it also removes tenant administrator blocks.

Learn more