Docs Menu

Docs HomeMongoDB Manual


On this page

  • Definition
  • Syntax
  • Required Access

Flushes user information from in-memory cache, including removal of each user's credentials and roles. This allows you to purge the cache at any given moment, regardless of the interval set in the userCacheInvalidationIntervalSecs parameter.

The command has the following syntax:

invalidateUserCache: 1

You must have privileges that include the invalidateUserCache action on the cluster resource in order to use this command.

←  grantRolesToRolerevokePrivilegesFromRole →
Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.