Admin Users

Grant (or reactivate/switch) a V2 subscription

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

post/admin/users/{id}/v2/subscription/grant

Path parameters

idstring required
Example:user-uuid-here

User ID

Request body

planIdstring 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

Example request

{
  "planId": "plan-uuid-here",
  "provider": "funnelfox"
}

Response

V2 subscription granted

Changes

No recorded changes to this endpoint across all 1 revision of this API.