xpack.security.clearCachedRealms

edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

xpack.security.clearCachedRealms

edit
client.xpack.security.clearCachedRealms({
  realms: string | string[],
  usernames: string | string[]
})

Reference

realms

string | string[] - Comma-separated list of realms to clear

usernames

string | string[] - Comma-separated list of usernames to clear from the cache