IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete role API
editDelete role API
editDeletes a Kibana role.
The underlying mechanism of enforcing role-based access control is stable, but the APIs for managing the roles are experimental.
Prerequisite
editTo use the delete role API, you must have the manage_security
cluster privilege.
Request
editDELETE /api/security/role/my_admin_role
Response codes
edit-
204
- Indicates a successful call.
-
404
- Indicates an unsuccessful call.