Check user privileges

  • POST also GET /_security/user/{user}/_has_privileges
  • POST also GET /_security/user/_has_privileges

Determine whether the specified user has a specified list of privileges. All users can use this API, but only to determine their own privileges. To check the privileges of other users, you must use the run as feature.

Read the reference documentation

Response