---
title: "Update Subscription Endpoint"
method: POST
path: "/v1/orgs/{org_id}/billing/subscriptions:update"
tags: ["v1-billing"]
---

# Update Subscription Endpoint

`POST /v1/orgs/{org_id}/billing/subscriptions:update`

Update an org's subscription: upgrade/downgrade or cancel.

- If `plan_id` is provided, changes the plan.
- If `cancel_now` is true, cancels immediately.
- If `cancel_at_period_end` is true, schedules cancel at period end.

## Path parameters

- `org_id` string, required

## Request body

- UpdateSubscriptionRequest
  - `plan_id` string, nullable
  - `cancel_at_period_end` boolean, nullable
  - `cancel_now` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/tryardent/apis/fastapi.md) · [All operations](https://skmtc.dev/tryardent/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryardent/fastapi/revisions/885763e37dfb/schema)
