Admin

Assign an admin trial to a user.

Whether the customer is emailed about it follows the trial_email_enabled setting: this door may be quieter than the admin panel, never louder. The trial is applied and audited either way.

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

post/admin/users/{id}/trial

Request

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

Path parameters

idinteger required

The user ID.

Request body

trial_planstring required

normal or pro.

trial_durationstring required

1d, 3d, 7d, 14d, 1m, 2m, 3m, 6m, 12m.

Example request

{
  "trial_plan": "pro",
  "trial_duration": "14d"
}

Response

OK

Changes

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