English
English
简体中文
Contact Us
Register
Log In

Modify family member information

Last Updated on : 2022-04-29 05:34:57download

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.