Admin

Change a user's plan.

Writes the stored plan column. It is not the whole story of what a customer has — lifetime access, a paid or granted trial and inherited team access all live outside it, which is why the account payload reports both plan (in effect) and base_plan (stored).

Admin only. The authenticated account must have the admin role.

patch/admin/users/{id}/plan

Request

  • Base URL: https://getdynamicqr.com/api/v1
  • URL: https://getdynamicqr.com/api/v1/admin/users/{id}/plan
  • Auth: API key in header X-Client-ID and HTTP bearer

Path parameters

idinteger required

The user ID.

Request body

planstring required

freemium, normal, or pro.

Response

OK

Changes

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