Delete role API

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

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

Request

DELETE /api/security/role/my_admin_role

Response codes

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