Update achievement
Body
-
achievement object
PUT
/api/v1/achievements/{id}
curl \
-X PUT http://127.0.0.1:3000//api/v1/achievements/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"achievement":{"nama_prestasi":"Juara 1 Lomba Cerdas Cermat","tingkat":"Kabupaten","tahun":"2020-12-11","kategori":"Akademik"}}'
Request example
{
"achievement": {
"nama_prestasi": "Juara 1 Lomba Cerdas Cermat",
"tingkat": "Kabupaten",
"tahun": "2020-12-11",
"kategori": "Akademik"
}
}