xpack.security.clearCachedRealms

edit

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