Update Owner Info Guide
This endpoint is used to synchronize the device owner's data. This information is important because Wagy will send critical notifications (such as device disconnection or quota exhaustion) to the contacts registered here.
When to Use This?
- When first registering a new device via the API.
- When you want to change the notification email without having to log in to the Wagy dashboard.
Request Parameters
| Field | Required | Explanation |
|---|---|---|
email | Optional | Email address to receive system alerts. |
whatsapp | Optional | Owner's WhatsApp number to receive system notifications via WA. |
info
Every change to the owner data will be applied immediately. Wagy's janitor system will use this latest data to send routine alerts.
Update device owner info
PUT/:device_id/owner
Update the email and WhatsApp number associated with the device owner.
Request
Responses
- 200
- 400
Owner info updated successfully
Invalid input