Share
Sensor sharing and unsharing
Shares your sensor data with another user via their e-mail address. This grants them access to the sensor data via the get endpoint.
A notification e-mail will be sent to the target user about the new share. If the target user does not exist yet, an invitation to create an account will be sent and they will gain access upon sign up.
The features share receiver gets are based on your account type - if you have a Pro account, the share receiver also gets Pro features for this sensor.
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
Revokes access to the sensor from a target user.
This can also be used to remove sensors that have been shared with your own user (i.e., declining a share from someone else).
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