xpack.security.deletePrivileges

edit

xpack.security.deletePrivileges

edit
client.xpack.security.deletePrivileges({
  application: string,
  name: string,
  refresh: 'true' | 'false' | 'wait_for'
})

Reference

application

string - Application name

name

string - Privilege name

refresh

'true' | 'false' | 'wait_for' - If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes.