admin

Set User Granted Tier

Assign or revoke a complimentary plan tier for this user's organization.

patch/admin/users/{user_id}/granted-tier

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

tierstring nullable

payg, sub1, sub2, or enterprise. Null/empty revokes the grant.

expires_in_daysinteger nullable

Optional duration. Omit for access until the grant is revoked.

notestring nullable

Response

Successful Response

successboolean
user_idstring uuid required
org_idstring uuid required
admin_granted_tierstring nullable
admin_granted_tier_expires_atstring date-time nullable
admin_granted_tier_notestring nullable
resolved_tierstring required
admin_access_overrideboolean

Changes

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