Update your User account

PUT /users/ID

Authorization Header

Parameters

Example

curl -X PUT -H "Authorization: Bearer um9VmyJKTPGFqpkL_THjGE5rkXqfURDYqQ8MTBVidG3PtwkfABIdx6s_z9WlFl4_j" -H "application/json" -d '{ \
  "user": { \
    "first_name": "John", \
    "last_name": "Doe", \
    "email": "jdoe@acme.com", \
    "name": "johnny22", \
    "address": { \
      "street": "Franklin Ave 100", \
      "city": "Chicago", \
      "state": "Illinois", \
      "country": "USA", \
      "zip_code": 14944 \
    }, \
    "profile": { \
      "website": "http://www.acme.com", \
      "short_bio": "Blabla", \
      "avatarURL": "http://www.gravatar.com/avatar/4589972CB656F09FD314B5ECF865402E", \
      "profileURL": "http://www.gravatar.com/4589972CB656F09FD314B5ECF865402E" \
    }, \
    "setting": { \
      "location": "Chicago", \
      "language": "en", \
      "time_zone": "America/Chicago", \
      "show_location_flag": false, \
      "newsletter_flag": true \
    }, \
  } \
}' \
https://api.xvid.com/v1/users/5470c6b5e4b09edbcfd16235?human=true

Valid Field


Note: All fields are optional. Fields that are not included in the PUT request will not be updated. If you want to delete/reset a field, set it to "null" specifically.