Update batch_list
Body
-
batch_list object
PATCH
/api/v1/batch_lists/{id}
curl \
-X PATCH http://127.0.0.1:3000//api/v1/batch_lists/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"batch_list":{"gelombang":"PMDK Sumut","aktif":true}}'
Request example
{
"batch_list": {
"gelombang": "PMDK Sumut",
"aktif": true
}
}