auth

Reads and updates UserModel fields Accepts GET, PUT, PATCH methods.

Default accepted fields: username, first_name, last_name Default display fields: pk, username, email, first_name, last_name Read-only fields: pk, email

Returns UserModel fields.

patch/auth/user/

Request

  • Base URL
    http://api.footballchallengeapp.com
  • URL
    http://api.footballchallengeapp.com/auth/user/
  • Auth
    HTTP basic

Request body

pkinteger
usernamestring nullable
emailstring email
first_namestring
last_namestring
is_trainerboolean
is_playerboolean
is_fanboolean
is_investorboolean
is_scoutboolean
avatarstring
phonestring nullable
birthdatestring date nullable
is_socialboolean
locationstring required
language10 | 20 | 30 | 40 | 50 | 60 | 70 | 80
auto_update_langboolean
addressstring nullable
subscription_type10 | 15 | 20 | 30 | 40 | 50
one_signal_updatedboolean
saw_trainer_onboardingboolean
saw_player_onboardingboolean
saw_fan_onboardingboolean
saw_scout_onboardingboolean

Response

OK

pkinteger
usernamestring nullable
emailstring email
first_namestring
last_namestring
is_trainerboolean
is_playerboolean
is_fanboolean
is_investorboolean
is_scoutboolean
avatarstring
phonestring nullable
birthdatestring date nullable
is_socialboolean
locationstring required
language10 | 20 | 30 | 40 | 50 | 60 | 70 | 80
auto_update_langboolean
addressstring nullable
subscription_type10 | 15 | 20 | 30 | 40 | 50
one_signal_updatedboolean
saw_trainer_onboardingboolean
saw_player_onboardingboolean
saw_fan_onboardingboolean
saw_scout_onboardingboolean

Changes

No recorded changes to this operation across all 159 revisions of this API.