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
date_of_birth
string yes
gender
string yes

Accepted values:

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


Result example

200 OK

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

500 Internal server error

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