Aller au contenu principal

Update User

PUT 

/v1/users/:user_id

Update a member of this account: profile, role, groups, and home page.

Only the fields sent change. An admin may update any member; a member may update their own record, but not what an admin grants (role, groups, access attributes, tool permissions, limits, the home-page lock): sending a different value for one of those is refused with 403.

homePage is where the member lands after signing in (their landing page): a dashboard {"kind": "viz", "id": 12} or a folder \{"kind": "folder", "id": 3\}, null to clear it. It must be something THIS member can open, checked with their access, not yours: otherwise 422. It shares nothing, so share the folder first. homeLocked: true (admins) stops the member changing it; a member changing a locked home page gets 403. A folder home lands on the folder even when nothing inside is shared with them.

Demoting the only admin left is refused with 400.

Request​

Responses​

Successful Response