Get a role Beta
Headers
-
elastic-api-version string
The version of the API to use
Value is
2023-10-31
. Default value is2023-10-31
.
Path parameters
-
The role name.
Minimum length is
1
.
Query parameters
-
replaceDeprecatedPrivileges boolean
If
true
and the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges.
GET /api/security/role/{name}
curl \
-X GET https://localhost:5601/api/security/role/{name} \
-H "elastic-api-version: 2023-10-31"