Update Welcome Message

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

Method : PUT

URL : /web/setting/message

Body : JSON

{
"pesan": "Selamat Datang"
}

Response : 200 OK

{
"message": "success update web message",
"status": 200
}

Response : 422 UNPROCESSABLE CONTENT

{
"error": {
"pesan": ["Pesan tidak boleh kosong"]
}
}

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error