Update achievement
Body
-
achievement object
PATCH
/api/v1/achievements/{id}
curl \
-X PATCH https://spmb-api-c3753c42f80c.herokuapp.com/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"
}
}