{
"createdAt": "2021-08-02T02:08:21.851Z",
"updatedAt": "2024-07-18T02:25:53.736Z",
"id": "5df7f1fddc1bcb2d489bfe1d",
"code": "VK375429",
"name": "Approve Location",
"state": "root.operations.approveLocation",
"parent": "5bac80f4927a9904b147fc86",
"sltPerms": [],
"ctg": "cli",
"subMenu": null,
"createdBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "dev02",
"roles": [
"root"
],
"client": "officer"
},
"updatedBy": {
"id": "64e70a2ad767e5f72fb313f5",
"name": "SYSTEM USER 05",
"roles": [
"root"
],
"client": "officer"
},
"status": "inactive",
"icon": "",
"priority": 13
}curl --location --request POST '/admin/menu/updateMenu' \
--header 'Authorization: Bearer ' \
--header 'Accept: application/json' \
--header 'User-Agent: Mozilla/5.0' \
--header 'Referer: https://wallet-admin-vpay-dev2.vinsmartfuture.tech/' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"createdAt": "2021-08-02T02:08:21.851Z",
"updatedAt": "2024-07-18T02:25:53.736Z",
"id": "5df7f1fddc1bcb2d489bfe1d",
"code": "VK375429",
"name": "Approve Location",
"state": "root.operations.approveLocation",
"parent": "5bac80f4927a9904b147fc86",
"sltPerms": [],
"ctg": "cli",
"subMenu": null,
"createdBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "dev02",
"roles": [
"root"
],
"client": "officer"
},
"updatedBy": {
"id": "64e70a2ad767e5f72fb313f5",
"name": "SYSTEM USER 05",
"roles": [
"root"
],
"client": "officer"
},
"status": "inactive",
"icon": "",
"priority": 13
}'