Update Kategori Kelompok

To edit the data in the specified collection with the specified parameters. When a JSON object is saved, the object properties are automatically added to the collection you specified.

Method : PUT

URL : /kelompok/master-data/(ID)

Body : JSON

{
"nama_kelompok": "Kelompok C"
}

Response : 200 OK

{
"message": "Success update kelompok category",
"status": 200
}

Response : 422 UNPROCESSABLE CONTENT

{
"error": {
"nama_kelompok": ["Nama Kelompok Tidak boleh kosong"]
}
}

Response : 500 ERROR

Internal Server Error