admin

Set User Trial Enabled

Enable or disable calendar trial enforcement for a user's organization.

patch/admin/users/{user_id}/trial-enabled

Request

  • Base URL
    https://api.threadchain.pro (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

user_idstring uuid required

Request body

trial_enabledboolean required

When true, calendar trial rules apply; enabling grants a trial window and welcome credits if not already granted.

grant_welcome_creditsboolean

When enabling trial, grant 2 welcome credits if this org has not received a trial_grant before.

Response

Successful Response

successboolean
user_idstring uuid required
org_idstring uuid required
trial_enabledboolean required
trial_startstring date-time nullable
trial_endstring date-time nullable
subscription_statusstring nullable
credits_grantedinteger
credit_balanceinteger

Changes

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