async def METHOD_NAME(request: web.Request):
    req_ctx = _RequestContext.parse_obj(request)
    path_params = parse_request_path_parameters_as(_WalletsGroupsPathParams, request)
    body_params = await parse_request_body_as(_WalletsGroupsBodyParams, request)
    wallet_groups: WalletGroupGet = await _groups_api.METHOD_NAME(
        request.app,
        user_id=req_ctx.user_id,
        wallet_id=path_params.wallet_id,
        group_id=path_params.group_id,
        read=body_params.read,
        write=body_params.write,
        delete=body_params.delete,
    )
    return envelope_json_response(wallet_groups, web.HTTPCreated)