All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rest-api-spec.api.security.has_privileges.json Maven / Gradle / Ivy

There is a newer version: 8.16.0
Show newest version
{
  "security.has_privileges":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html",
      "description":"Determines whether the specified user has a specified list of privileges."
    },
    "stability":"stable",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_security/user/_has_privileges",
          "methods":[
            "GET",
            "POST"
          ]
        },
        {
          "path":"/_security/user/{user}/_has_privileges",
          "methods":[
            "GET",
            "POST"
          ],
          "parts":{
            "user":{
              "type":"string",
              "description":"Username"
            }
          }
        }
      ]
    },
    "params":{},
    "body":{
      "description":"The privileges to test",
      "required":true
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy