PUT
/api/v1/languages/{id}
curl \
-X PUT https://spmb-api-c3753c42f80c.herokuapp.com/api/v1/languages/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"language":{"nama_bahasa":"Bahasa Indonesia","tingkat":"Pemula"}}'
Request example
{
"language": {
"nama_bahasa": "Bahasa Indonesia",
"tingkat": "Pemula"
}
}