HTTP handler that deletes a plan addon association for a given plan ID and addon ID in the product catalog API.
// Source: https://github.com/openmeterio/openmeter | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package planaddons
import (
"context"
"net/http"
"github.com/openmeterio/openmeter/api/v3/apierrors"
"github.com/openmeterio/openmeter/openmeter/productcatalog/planaddon"
"github.com/openmeterio/openmeter/pkg/framework/commonhttp"
"github.com/openmeterio/openmeter/pkg/framework/transport/httptransport"
"github.com/openmeterio/openmeter/pkg/models"
)
type (
DeletePlanAddonRequest = planaddon.DeletePlanAddonInput
DeletePlanAddonParams struct {
PlanID string
PlanAddonID string
}
DeletePlanAddonResponse = any
DeletePlanAddonHandler httptransport.HandlerWithArgs
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key