Disable users
Unreleased This version is not released yet and can change. View the latest version (v9)
- POST PUT /_security/user/{username}/_disable
Unreleased This version is not released yet and can change. View the latest version (v9)
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.
manage_security
Response Type: object