curl --request PATCH \
--url https://api.trieve.ai/api/stripe/subscription_plan/{subscription_id}/{plan_id} \
--header 'Authorization: <api-key>' \
--header 'TR-Organization: <tr-organization>'{
"message": "Bad Request"
}Update a subscription to a new plan
curl --request PATCH \
--url https://api.trieve.ai/api/stripe/subscription_plan/{subscription_id}/{plan_id} \
--header 'Authorization: <api-key>' \
--header 'TR-Organization: <tr-organization>'{
"message": "Bad Request"
}The organization id to use for the request
id of the subscription you want to update
id of the plan you want to subscribe to
Confirmation that the subscription was updated to the new plan
Was this page helpful?