Disable users in the native realm. By default, when you create users, they are enabled. You can use this API to revoke a user's access to Elasticsearch. ##Required authorization
- Cluster privileges:
manage_security
POST
/_security/user/{username}/_disable
Console
PUT /_security/user/jacknich/_disable
curl \
--request POST 'http://api.example.com/_security/user/{username}/_disable'