---
title: "Turn auto-renewal of the paid API plan on or off"
method: PATCH
path: "/api-plans/me"
tags: ["General APIs with JWT"]
---

# Turn auto-renewal of the paid API plan on or off

`PATCH /api-plans/me`

## Request

- Base URL: `https://lium.io/api`
- URL: `https://lium.io/api/api-plans/me`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/lium/apis/lium-backend-api/docs/api-plans/me/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- AutoRenewRequest
  - `auto_renew` boolean, required

## Response `200`

Successful Response

- ApiPlanResponse
  - `plan` 'free' | 'pro', required
  - `display_name` string, required
  - `rate_limit_multiplier` integer, required
  - `pro_rate_limit_multiplier` integer, required
  - `endpoints` string[], required
  - `expires_at` string, date-time, nullable, required
  - `pro_usd_per_month` number, required
  - `pro_for_sale` boolean, required
  - `auto_renew` boolean, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `5befeb09da91`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lium/apis/lium-backend-api/changes/api-plans/me/patch.md)

---

[API](https://skmtc.dev/lium/apis/lium-backend-api.md) - [All operations](https://skmtc.dev/lium/apis/lium-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lium/apis/lium-backend-api/revisions/f5f94aa0bc8e?raw)
