---
title: "Grant (or reactivate/switch) a V2 subscription"
method: POST
path: "/admin/users/{id}/v2/subscription/grant"
tags: ["Admin Users"]
---

# Grant (or reactivate/switch) a V2 subscription

`POST /admin/users/{id}/v2/subscription/grant`

Create, reactivate, or switch the V2 subscription to the given plan. Tier and billing period are derived from the plan; quota is granted. Idempotent.

## Path parameters

- `id` string, required

## Request body

- GrantV2SubscriptionDtoClass
  - `planId` string, required — Plan id to grant. Tier and billing period are derived from it.
  - `provider` 'funnelfox' | 'stripe' | 'apple' | 'unlimit' | 'upgate', required — Subscription provider to attribute the grant to

## Response `200`

V2 subscription granted

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
