Edit User

edit user detail

post
/v2/user/edit

edit user detail

Authorizations
AuthorizationstringRequired
Query parameters
userUuidstringOptional

uuid of user

Body
githubstringOptional

github url of user

linkedinstringOptional

linkedin url of user

namestringOptional

name of user

onlineCvstringOptional

online cv url of user

passwordstringOptional

password of user

programIdintegerOptional

program id of user (used for lead program / mentor roles only)

addressstringOptional

address of user

genderstring · enumOptional

gender of user

Possible values:
jobstringOptional

job of user (used for mentor roles only)

phonestringOptional

phone number of user

regionIdintegerOptional

region id of user (used for lead region roles only)

cityIdintegerOptional

city id of user (used for student roles only)

photostringOptional

photo url of user

portfoliostringOptional

portfolio url of user

kindinteger · enumOptional

roles of user (1: admin, 2: mentor, 4: student, 7: lead program, 9: lead region)

Possible values:
institutionstringOptional

institution of user (used for mentor roles only)

nikstringOptional

nik of user

biostringOptional

bio of user

Responses
200

Response

application/json
post
/v2/user/edit
POST /v2/user/edit HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 271

{
  "github": "text",
  "linkedin": "text",
  "name": "text",
  "onlineCv": "text",
  "password": "text",
  "programId": 1,
  "address": "text",
  "gender": "P",
  "job": "text",
  "phone": "text",
  "regionId": 1,
  "cityId": 1,
  "photo": "text",
  "portfolio": "text",
  "kind": 1,
  "institution": "text",
  "nik": "text",
  "bio": "text"
}
200

Response

{
  "message": "success",
  "status": true
}

Last updated