---
title: "Update max cycles"
method: PUT
path: "/subscriptions/{subscriptionId}/max-cycles"
tags: ["Subscriptions"]
---

# Update max cycles

`PUT /subscriptions/{subscriptionId}/max-cycles`

Modifies the max cycles of an existing subscription. Used to change the length of a gifted subscription.

## Path parameters

- `subscriptionId` string, required

## Request body

- object
  - `delta` number, required — The amount to decrement or increment the subscriptions' max cycles. To increment, pass a positive number. To decrement, pass a negative number.

## Response `204`

Max cycles updated

## Other responses

- `400` — Validation error
- `401` — You do not have permission
- `404` — Not Found

---

[API](https://skmtc.net/awtomic/apis/awtomic-api.md) · [All operations](https://skmtc.net/awtomic/apis/awtomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awtomic/awtomic-api/versions/dfe3dfce125c/schema)
