Skip to main content

Update basic profile

Endpoint
Endpoint Method
Authentication
/update-basic-profile POST Yes
Authorization
Type
Token source
Server
Bearer login USAPI USAPI
Header
Parameter
Value
Authorization Bearer <auth>
Body request

Content-Type: multipart/form-data

Properties
Properties of Data type Required Description
basic_profile



date_of_birth
basic_profile
string yes
gender
basic_profile
string yes

Accepted values:

  1. Laki-Laki
  2. Perempuan
phone_number
basic_profile
string yes
profile_img
file no

Example:

Properties

Value
basic_profile
{
     "gender": "Laki-Laki",
     "phone_number": "6287654321",
     "date_of_birth": "1996-10-18"
}
profile_imgimage.jpg
Result example

200 OK

{
    "status": true,
    "message": "Success update profile"
}
Error example

500 Internal server error

{
    "message": "Error on update profile."
}