Removes application privileges.
DELETE /_security/privilege/<application>/<privilege>
application
privilege
To use this API, you must have either:
manage_security
all
The following example deletes the read application privilege from the myapp application:
read
myapp
DELETE /_security/privilege/myapp/read
If the role is successfully deleted, the request returns {"found": true}. Otherwise, found is set to false.
{"found": true}
found
{ "myapp": { "read": { "found" : true } } }