Update organization
Body
-
organization object
PATCH
/api/v1/organizations/{id}
curl \
-X PATCH https://spmb-api-c3753c42f80c.herokuapp.com/api/v1/organizations/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organization":{"nama_organisasi":"OSIS SMAN 1","mulai":"2021-01-01","berakhir":"2021-10-01","jabatan":"Ketua"}}'
Request example
{
"organization": {
"nama_organisasi": "OSIS SMAN 1",
"mulai": "2021-01-01",
"berakhir": "2021-10-01",
"jabatan": "Ketua"
}
}