Edit User
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 · enumOptionalPossible values:
gender of user
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 · enumOptionalPossible values:
roles of user (1: admin, 2: mentor, 4: student, 7: lead program, 9: lead region)
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/editPOST /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