Share
MAC address of the sensor to share (e.g. C6:F1:E7:D3:DA:11)
^([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}$E-mail address of the user to share the sensor with
Sensor shared successfully
INVALID - Missing or malformed fields (sensor or user missing; sensor not valid MAC address; user not valid email)
UNAUTHORIZED - Auth token missing or expired
FORBIDDEN - User does not own this sensor or cannot share it
CONFLICT - Sensor is already shared to this user
INTERNAL SERVER ERROR - Unexpected error occurred
MAC address of the sensor to unshare (e.g. C6:F1:E7:D3:DA:11)
^([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}$E-mail address of the user to revoke access from. If omitted, the share is removed from the authenticated user's account (useful for declining a share someone else made to you).
Sensor unshared successfully
INVALID - Missing or malformed fields (sensor missing or not valid MAC address)
UNAUTHORIZED - Auth token missing or expired
FORBIDDEN - User does not have permission to unshare this sensor
NOT FOUND - Shared sensor or target user not found
INTERNAL SERVER ERROR - Unexpected error occurred
Last updated