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 Role Mapping API

Introduced 1.0

Deletes the specified role mapping.

Endpoints

DELETE /_plugins/_security/api/rolesmapping/{role}

Example request

DELETE _plugins/_security/api/rolesmapping/test-role

Example response

{
  "status": "OK",
  "message": "'test-role' deleted."
}
350 characters left

Have a question? .

Want to contribute? or .