---
title: "Update Member Plan"
method: PUT
path: "/api/v1/admin/members/{uid}/plan"
tags: ["admin"]
---

# Update Member Plan

`PUT /api/v1/admin/members/{uid}/plan`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/admin/members/{uid}/plan`
- Auth: none declared

管理員修改用戶方案 — 升級 / 降級 / 延期

## Path parameters

- `uid` string, required: 用戶 UID

## Headers

- `Authorization` string, nullable

## Request body

- UpdatePlanRequest
  - `plan` string, required: 方案：free / lite / basic / pro
  - `subscription_status` string, required: 狀態：active / trial / expired
  - `subscription_end_date` string, nullable: 到期日，格式 YYYY-MM-DD（設 active 時必填）

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
