put https://api.freedomrobotics.ai/accounts//devices//pilot
Adds or edits the fr.pilot.last_user attribute and its value specified in a JSON dictionary form for the specified device. Can not change any other device attribute.
{
"fr.pilot.last_user": {
"name":"User X",
"uid":"0b4pn5",
"utc_time":1589960504072,
"user":"[email protected]"
}
}
- This is just a version of device API where you are limited just to the fr.pilot.last_user attribute.
Permission Required
For this endpoint "pilot": [put] permission is required