Skip to main content
PUT
/
api
/
v1
/
plans
/
{plan_id}
Update Plan
curl --request PUT \
  --url https://api.example.com/api/v1/plans/{plan_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "is_active": true,
  "trial_days": 123
}
'
plan_id
string
required
UUID of the plan
name
string
New display name
description
string
Updated description
is_active
boolean
Enable or disable new subscriptions
trial_days
integer
Updated trial period