v1

latestOpenAPI 3.1.02026-08-04134182237.9 KB
Admin

Update User

Update user profile information.

patch/api/admin/users/{user_id}

Path parameters

user_idstring required

Request body

full_namestring nullable

Full name

company_namestring nullable

Company name

countrystring nullable

Country

tier'tier1' | 'tier2' | 'tier3' | 'tier4' | 'tier5'
account_type'user' | 'enterprise'

Account type: determines billing mode and allowed API key scopes.

  • USER: Prepaid wallet billing, can create user-scope keys
  • ENTERPRISE: Postpaid invoice billing, can create enterprise-scope keys
current_remaining_creditsnumber nullable

Set user balance/credits (must be finite, non-negative, max $100k)

Response

Successful Response

successboolean
messagestring required