---
title: "Make User Premium"
method: POST
path: "/api/v1/admin/test/users/{user_id}/make-premium"
tags: ["Admin - Test Users", "Admin - Test Users"]
---

# Make User Premium

`POST /api/v1/admin/test/users/{user_id}/make-premium`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/admin/test/users/{user_id}/make-premium`
- Auth: none declared

Make a user premium member for testing.

**Testing endpoint** - This will:
1. Find or create premium plan
2. Cancel any existing active subscriptions
3. Create new active premium subscription
4. Set unlimited scans and collection

## Path parameters

- `user_id` integer, required

## Headers

- `x-admin-key` string, nullable

## Response `200`

Successful Response

- UpdateSubscriptionResponse
  - `success` boolean, required
  - `message` string, required
  - `user_id` integer, required
  - `plan_name` string, required
  - `subscription_status` string, required

## Other responses

- `422`: Validation Error

---

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