Delete role APIedit

Delete a Kibana role.

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

Prerequisiteedit

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

Requestedit

DELETE /api/security/role/my_admin_role

Response codesedit

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