Copy
Ask AI
LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"
curl --location --request DELETE "$LAGO_URL/api/v1/plans/:code" \
--header "Authorization: Bearer $API_KEY"
This endpoint deletes a specific plan. Note that this plan could be associated with active subscriptions.