{"type":"api","title":"Get task permission ids","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/e1ae91f25de62367ac175351487a12de3ae46a25/c92e7384-b2f4-3d3b-8e8e-03a9325b07bb","info":{"title":"Crosswork RBAC API - Version 1","description":"Crosswork Role-based Access Control APIs","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"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"}},"openapi":"3.0.1","servers":[{"url":"https://{cw_ip}:30603/crosswork/aaa/v1"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Use a bearer token to authenticate requests. Include the token in the Authorization header with the prefix 'Bearer '.","name":"Authorization","in":"header"}}},"spec":{"tags":["rbac"],"summary":"Get task permission ids.","description":"Get array of task permission ids are enabled for the session user role.","operationId":"GetUserpermission","responses":{"200":{"description":"OK. The request was successful. The result is contained in the response body.","content":{"application/json":{"schema":{"type":"array","description":"Get the different task permissions available in the system.","example":["dag_management","device_sync_from","device_sync_to","export_audit_logs","nso_fp_deployment_management","view_audit_logs"],"items":{"type":"string"},"$$ref":"#/components/schemas/rbacTaskPermissions"}}}},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request.","content":{}},"500":{"description":"Internal Server Error. The server could not fulfill the request.","content":{}}},"__originalOperationId":"GetUserpermission","security":[{"bearerAuth":[]}],"method":"get","path":"/userpermission"}}