User details would be updated
{
"status": true,
"message": "User updated",
"data": {
"id": 15
},
"error": []
}
{
"status_code": 400,
"status": "failed",
"message": "Validation error",
"data": [],
"error": [
{
"user_id": "user_id is required"
},
{
"user_id": "User not found"
}
]
}
{
"status_code": 403,
"status": "failed",
"message": "Permission denied",
"data": [],
"error": {
"unauthorize": "caller_id is not authorized"
}
}
{
"status": true,
"message": "User updated",
"data": {
"id": 15
},
"error": []
}
{
"status_code": 400,
"status": "failed",
"message": "Validation error",
"data": [],
"error": [
{
"user_id": "user_id is required"
},
{
"user_id": "User not found"
}
]
}
{
"status_code": 403,
"status": "failed",
"message": "Permission denied",
"data": [],
"error": {
"unauthorize": "caller_id is not authorized"
}
}