# Update Subscription

## Subscription update

You can update the status of an existing subscription using the API. This allows you to manage the subscription lifecycle efficiently, such as transitioning between active, paused, or canceled states as outlined [here](https://docs.unipaas.com/docs/subscriptions#the-subscription-object).

Make a [PATCH/pay-ins​/plans​/\{planId}​/subscriptions​/\{subscriptionId}](https://docs.unipaas.com/reference/payinplancontroller_createpayinplan) request to update subscription:

```json
{
  "status": "string"
}
```

| Name     | Description                                               |
| :------- | :-------------------------------------------------------- |
| `status` | Available statuses are:  `enabled`, `onHold`, `cancelled` |

For manual updates, use the Platform portal to manage subscription statuses via the Subscriptions table.
