Stripe

Update Subscription Plan

Update a subscription to a new plan

patch/api/stripe/subscription_plan/{subscription_id}/{plan_id}

Request

  • Base URL
    https://api.trieve.ai
  • URL
    https://api.trieve.ai/api/stripe/subscription_plan/{subscription_id}/{plan_id}
  • Auth
    API key in header Authorization

Path parameters

subscription_idstring uuid required

id of the subscription you want to update

plan_idstring uuid required

id of the plan you want to subscribe to

Headers

TR-Organizationstring uuid required

The organization id to use for the request

Response

Confirmation that the subscription was updated to the new plan

Changes

No recorded changes to this operation across all 50 revisions of this API.