curl --location --request PUT 'http://127.0.0.1:8000/api/devices/4' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {}' \
--header 'Content-Type: application/json' \
--data '{
"ip_address": "192.168.22.224"
}'{
"message": "Device updated successfully.",
"data": {
"id": 3,
"name": "Windows Endpoint",
"IP address": "192.168.22.224",
"operating system": "Windows 11",
"status": "maintenance"
}
}