Link Search Menu Expand Document Documentation Menu

You're viewing version 3.8 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

Delete User API

Introduced 1.0

Deletes the specified internal user.

Endpoints

DELETE /_plugins/_security/api/internalusers/{username}

Example request

DELETE _plugins/_security/api/internalusers/kirk

Example response

{
  "status": "OK",
  "message": "'kirk' deleted."
}
350 characters left

Have a question? .

Want to contribute? or .