public extension Request {
    /**
      # Modify a Beta Group
      Modify a beta group's metadata, including changing its Testflight public link status.

      Full documentation:
      <https://developer.apple.com/documentation/appstoreconnectapi/modify_a_beta_group>

      - Parameter id: The id of the requested resource
      - Parameter requestBody: BetaGroup representation
      - Returns: A `Request` with to send to an instance of `BagbutikService`
     */
    static func updateBetaGroup(id: String,
                                requestBody: BetaGroupUpdateRequest) -> Request<BetaGroupResponse, ErrorResponse>
    {
        return .init(path: "/v1/betaGroups/\(id)", method: .patch, requestBody: requestBody)
    }
}
