To use this API, you must have one of the following privileges:
- The
manage_securitycluster privilege (or a greater privilege such asall). - The "Manage Application Privileges" global privilege for the application being referenced in the request. ##Required authorization
- Cluster privileges:
manage_security
Path parameters
-
The name of the application. Application privileges are always associated with exactly one application.
-
The name of the privilege.
DELETE
/_security/privilege/{application}/{name}
Console
DELETE /_security/privilege/myapp/read
curl \
--request DELETE 'http://api.example.com/_security/privilege/{application}/{name}'
Response examples (200)
A successful response from `DELETE /_security/privilege/myapp/read`. If the privilege is successfully deleted, `found` is set to `true`.
{
"myapp": {
"read": {
"found" : true
}
}
}