Update Visi

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 : POST

URL : /profil/visi-misi/visi

Body : JSON

{
"visi": "Visi"
}

Response : 200 OK

{
"message": "Success edit visi",
"status": 200
}

Response : 422 UNPROCESSABLE CONTENT

{
"error": {
"visi": ["Visi tidak boleh kosong"]
}
}

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error