Update Account
PUT/v1/account
Update account settings. ADMIN-only, enforced by the shared dependency.
Only the fields sent change. defaultHomePage is the account's default home
page (landing page after sign-in) for every member with none of their own: a
dashboard {"kind": "viz", "id": 12} or a folder {"kind": "folder", "id": 3},
null to clear it. It must exist in this account, otherwise 422. It shares
nothing: a member who cannot open it lands on the usual start page.
captureFolderId is the folder the capture app sends files to; setting it
while capture is off for the account is a 403 feature_not_offered.
The role check used to be an inline if in this body — the same inline
if its two logo siblings had, except PUT /v1/account/logo did not
have one at all and a Viewer replaced the account's branding on prod. The
check moved to a dependency so the three routes cannot drift apart again,
and so check_route_authorization.py can SEE the decision.
Request
Responses
- 200
- 422
Successful Response
Validation Error