admin

Create Admin User Endpoint

Create a new admin user. Requires admin privileges.

post/admin/users

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

Request body

first_namestring required
last_namestring required
brand_namestring nullable
rolestring required
whatsappstring nullable
emailstring email required
passwordstring required
organization_namestring nullable
email_notifications_consentboolean
account_type'manufacturer' | 'brand' nullable
referral_tokenstring nullable
invitation_tokenstring nullable
countrystring nullable

Response

Successful Response

first_namestring required
last_namestring required
brand_namestring nullable
rolestring required
whatsappstring nullable
emailstring email required
idstring uuid required
is_activeboolean required
is_adminboolean required
is_approvedboolean
email_notifications_consentboolean
email_verifiedboolean
onboarding_completedboolean required
created_atstring date-time required
updated_atstring date-time required

Changes

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