Find roles by privilege name

Given input privilege names return all roles that contain the input privileges

Request
Security:
vc-security
path Parameters
privilegeName
required
string
Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

get/user-service/v1/role/findByPrivilege/{privilegeName}
Request samples
curl -i -X GET \
  'http://localhost:8081/user-service/v1/role/findByPrivilege/{privilegeName}' \
  -H 'x-auth-token: YOUR_API_KEY_HERE'
Response samples
application/json
[
  • {
    }
]