{"type":"api","title":"Add User to Access Control Group","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":"Add a User to an Access Control Group\u003cbr /\u003eOne of the below roles is needed to invoke this API\u003cbr /\u003e- SEA System Admin\u003cbr /\u003e- SEA Access Admin","operationId":"add_user_to_group","parameters":[{"description":"ID of the access control group","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":{"user_id":{"type":"string","format":"uuid","example":"c88d20dd-51f0-4de0-a291-51b7e505b481"},"username":{"type":"string","example":"username@cisco.com"}},"required":["user_id"],"$$ref":"#/definitions/input_post_group_user"}}],"produces":["application/json"],"responses":{"201":{"description":"Successful operation. User has been added to the access control group."},"400":{"description":"Bad Request. Invalid input.","schema":{"properties":{"debug_message":{"items":{"type":"string"},"type":"array"},"error_code":{"type":"string"},"message":{"type":"string"}},"type":"object","$$ref":"#/definitions/response_error"}},"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"}},"500":{"description":"Internal server error","schema":{"example":"Could not connect to server","type":"string"}}},"summary":"Add User to Access Control Group","tags":["Access Control Groups"],"__originalOperationId":"add_user_to_group","security":[{"access_token":[]},{"bearer_token":[]}],"method":"post","path":"/groups/{group_id}/add_user"}}