{"type":"api","title":"Update user session configuration","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":"Update user session configuration.","description":"This API allows updates to the user session configuration like Global Idle Timeout, Parallel Session, etc.","operationId":"UpdateSessionconfig","responses":{"204":{"description":"No Content. The request was successful and there is no additional content in the response body.","schema":{"type":"object","properties":{"rbacEmpty":{"type":"object"}},"$$ref":"#/definitions/rbacEmpty"}},"400":{"description":"Invalid value for Global idle timeout, Possible values can be 10/15/30/60/120/480 minutes"},"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":"body","description":"Updated specification for user session configuration.","in":"body","required":true,"schema":{"type":"object","properties":{"FallbackType":{"description":"Fallback to Local","type":"string"},"IdleSessionTimeout":{"description":"Global Idle Timeout in minutes","type":"integer"},"NumParallelSessions":{"description":"Number of Parallel Sessions","type":"integer"},"NumParallelSessionsPerUser":{"description":"Number of Parallel Sessions per user","type":"integer"}},"example":{"IdleSessionTimeout":30,"NumParallelSessions":100,"NumParallelSessionsPerUser":100,"FallbackType":"FB_ON_NORESP_AUTH_FAILURE"},"title":"Sessionconfig request","$$ref":"#/definitions/rbacSessionconfig"}}],"tags":["rbac"],"__originalOperationId":"UpdateSessionconfig","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"put","path":"/sessionconfig"}}