Modify family member information

Last Updated on : 2023-06-19 07:07:18

Used to set administrator or non-administrative role permissions for family members.

API address

PUT: /v1.0/homes/{home_id}/members/{uid}

Request parameter

Parameter nameTypeINRequiredDescription
home_idLonguritrueFamily ID
uidStringuritrueUser ID

Description of body

Parameter nameTypeINRequiredDescription
adminBoolean trueSet family member administrator permissions.
  • true: administrator
  • false: non-administrator

Return parameter

Parameter nameTypeDescription
resultBoolean

Request example

PUT: /v1.0/homes/31****/members/ay15309353754999****
{
  "admin": false
}

Return example

true

Error code

For more information, see error code.