{"type":"api","title":"Update Access Control Group by Id","meta":{"id":"/apps/pubhub/media/sea-api/7c15e51e49c0ffa2ba78927684d875bb631dffa7/d5f79626-4df3-3cd0-aec3-6ecc5b860dd3","swagger":"2.0","info":{"description":"Deals with Remote Sessions, Access Management (Access Control Groups), and System Management (Network Devices and Assets) APIs","license":{"name":"Licensing is primarily subscription based.","url":"https://www.cisco.com"},"termsOfService":"http://swagger.io/terms/","title":"Secure Equipment Access (SEA) Management APIs","version":"1.0.0"},"host":"us.ciscoiot.com","basePath":"/nbapi/sramgmt/ext","schemes":["https"],"securityDefinitions":{"access_token":{"in":"header","name":"x-access-token","type":"apiKey"},"bearer_token":{"in":"header","name":"Authorization","type":"apiKey"}},"security":[{"access_token":[]},{"bearer_token":[]}],"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"},"labelConfig":{"endpoint":"summary"}}},"spec":{"consumes":["application/json"],"description":"Update an Access Control Group name, description, or enabled/disabled status\u003cbr /\u003eOne of the below roles is needed to invoke this API\u003cbr /\u003e- SEA System Admin\u003cbr /\u003e- SEA Access Admin","operationId":"update_group_by_id","parameters":[{"description":"ID of the access control group to delete","format":"uuid","in":"path","name":"group_id","required":true,"type":"string"},{"format":"uuid","in":"header","name":"x-tenant-id","required":true,"type":"string"},{"in":"body","name":"body","required":true,"schema":{"type":"object","properties":{"access_type":{"type":"string","enum":["SCHEDULED_ACCESS","ALWAYS_ACTIVE","REQUEST_ACCESS"],"example":"ALWAYS_ACTIVE"},"description":{"type":"string","example":"test description"},"enabled":{"type":"boolean","example":true},"name":{"type":"string","example":"IE-3400 group"},"recorded_guac":{"type":"boolean","example":true},"recorded_screen":{"type":"boolean","example":true},"schedules":{"type":"array","items":{"type":"object","properties":{"duration":{"type":"integer","minimum":0,"example":30},"time_begin":{"type":"string","format":"date-time","example":"2024-06-19 16:12:39.784"},"timezone":{"type":"string","example":"America/New_York"}},"required":["duration","time_begin","timezone"],"$$ref":"#/definitions/input_put_group_connection_schedule"}}},"required":["access_type","name"],"$$ref":"#/definitions/input_group"}}],"produces":["application/json"],"responses":{"200":{"description":"Successful operation. Access Control Group has been updated","schema":{"type":"object","properties":{"group_id":{"type":"string","format":"uuid","example":"87eb2e6a-947d-4604-b8a5-f0c6f438060b"}},"$$ref":"#/definitions/response_group_id"}},"401":{"description":"Bad request","schema":{"example":"Authentication Token is invalid","type":"string"}},"403":{"description":"Forbidden","schema":{"example":"Permission denied to access the resource","type":"string"}},"404":{"description":"Access Control Group not found","schema":{"properties":{"debug_message":{"items":{"type":"string"},"type":"array"},"error_code":{"type":"string"},"message":{"type":"string"}},"type":"object","$$ref":"#/definitions/response_error"}},"500":{"description":"Internal server error","schema":{"example":"Could not connect to server","type":"string"}}},"summary":"Update Access Control Group by Id","tags":["Access Control Groups"],"__originalOperationId":"update_group_by_id","security":[{"access_token":[]},{"bearer_token":[]}],"method":"put","path":"/groups/{group_id}"}}