Delete role API

edit

Deletes a Kibana role.

The underlying mechanism of enforcing role-based access control is stable, but the APIs for managing the roles are experimental.

Prerequisite

edit

To use the delete role API, you must have the manage_security cluster privilege.

Request

edit

DELETE /api/security/role/my_admin_role

Response codes

edit
204
Indicates a successful call.
404
Indicates an unsuccessful call.