---
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`

## Request

- Base URL: `https://api.tryardent.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tryardent.com/v1/orgs/{org_id}/billing/subscriptions:update`
- Auth: none declared

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/tryardent-api.md) - [All operations](https://skmtc.dev/tryardent/apis/tryardent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tryardent/apis/tryardent-api/revisions/a0512915b997?raw)
