def add_users_to_group(): in_args, fields, body = parse_and_print_args() res = Database_op.insert_group("usergroups", body) return json.dumps("User added successfully"), 200, { "content-type": "application/json; charset: utf-8" }
def create_group(): in_args, fields, body = parse_and_print_args() res = Database_op.insert_group("usergroups", body) return json.dumps("Group Creation Successful"), 200, { "content-type": "application/json; charset: utf-8" }