POST /projects/{project_id}/mail/subscription/cancel
Stop renewal of a Mail product (the plan remains active until the end of the paid period)
Console session only (signed-in console).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_id | path | string · required | |
product | query | "transactional" | "marketing" |
Responses
| Status | Description | Body |
|---|---|---|
200 | Renewal stopped (billing stopped, no refund); the plan remains active until ends_at, then the project reverts to Free | MailCancellation |
403 | Administrator required | |
404 | Subscription not found | |
409 | Cancellation refused | |
503 | Billing unavailable |
Examples
curl
curl -X POST "$GALON_API_BASE/projects/<project_id>/mail/subscription/cancel" \
-H "Authorization: Bearer $GALON_API_KEY"