This API is used to edit and update the user profile.
Resource URL
POST - /sms/2.0/user/update/{device_type}/{sub_uid}
Authorization
required
Bearer
Access Token
NOTE: Access Token here refers to the access authorization token.
device_type
required
Web, ROKU, iPhone, iPad, Android-Phone, Android-Tab etc are the clients by which an user can get registered.
sub_uid
required
It is the uid we get from the
Login API response.
username
required
Email ID is taken as the User name for an individual user. It is the "username" we get from the
Login API response.
dob
optional
Date Of Birth.
gender
optional
m (Male) or f (Female)
firstname
required
First Name is the given name of the user.
lastname
required
Last Name is the family name of the user.
street
optional
Street name.
city
optional
City of Residence
state
optional
State of Residence
country
optional
Country of Residence
phone
optional
Phone number
Example Request URL
POST - http://__JTV__HOST__/sms/2.0/user/update/{device_type}/{sub_uid}
Example Return
Success
|
{ "code":0, "result":"success", "status":"success", "message":"successfully updated" } |
Failure
|
{ "code":1001, "result":"failure", "status":"failure", "message":"update failed" } |