This Endpoin to edit the sendor
Request
Body Params application/json
{
"name": "string",
"description": "string",
"pinNumber": "string"
}
Request Code Samples
curl --location --request PUT 'sensor/update/' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3OWU4M2Y0OGUxMThjNDA3OWIyNTFjMyIsImVtYWlsIjoiYWxpaXNtYWlsaDA4QGdtYWlsLmNvbSIsInJvbGUiOiJjdXN0b21lciIsImlhdCI6MTc0MTI0MjUwMiwiZXhwIjoxNzQzODM0NTAyfQ.ABNTRtJ6iJn1AJpPKcUrr1SOW2aYXRjRkn0Vv1YURoI' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"pinNumber": "string"
}'
Responses
application/json {
"message": "Sensor Update Successfully"
}
Modified at 2025-04-28 19:44:01