{"type":"api","title":"Get user role detail by role id","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/c92e7384-b2f4-3d3b-8e8e-03a9325b07bb","info":{"title":"Crosswork RBAC API - Version 1","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"description":"Crosswork Role-based Access Control APIs","license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/RBAC/rbac-v1-overview.md"}},"swagger":"2.0","basePath":"/crosswork/aaa/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Use a bearer token to authenticate requests. Include the token in the Authorization header with the prefix 'Bearer '."}}},"spec":{"summary":"Get user role detail by role id","description":"This API returns the user role's high level access details by role id.","operationId":"GetRoleAccess","responses":{"200":{"description":"OK. The request was successful. The result is contained in the response body.","schema":{"type":"object","description":"Defines access permissions for a specific RBAC policy.","required":["PolicyId","GuiAccess","ApiAccess","PolicyData"],"properties":{"PolicyId":{"type":"string","description":"Unique identifier for the policy."},"GuiAccess":{"type":"boolean","description":"Indicates if GUI access is permitted for this policy."},"ApiAccess":{"type":"boolean","description":"Indicates if API access is permitted for this policy."},"PolicyData":{"type":"string","description":"Additional data or details related to the policy."}},"example":{"PolicyId":"policy123","GuiAccess":true,"ApiAccess":true,"PolicyData":""},"$$ref":"#/definitions/rbacPolicyAccess"}},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."},"500":{"description":"Internal Server Error. The server could not fulfill the request."}},"parameters":[{"name":"policyId","description":"Unique role name","in":"path","required":true,"type":"string"}],"tags":["rbac"],"__originalOperationId":"GetRoleAccess","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"get","path":"/roleAccess/{policyId}"}}