Given input privilege names return all roles that contain the input privileges
OK
Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.
Unauthorized request. Make sure token was included and is valid and try again.
Forbidden. You are not permitted to access the requested resource.
curl -i -X GET \ 'http://localhost:8081/user-service/v1/role/findByPrivilege/{privilegeName}' \ -H 'x-auth-token: YOUR_API_KEY_HERE'
[- {
- "name": "string",
- "description": "string",
- "internal": false,
- "privileges": [
- {
- "name": "string",
- "description": "string"
}
]
}
]