Update Task Settings
PUT /org/settings/tasks
Set the org’s default task visibility and note-taking toggles.
default_visibility is a privilege-sensitive setting: moving it to
public exposes every task created afterwards to the whole organisation.
Admin-gated, and the handler re-checks the role.
An EMPTY patch is refused (422) rather than no-opped, because an empty body on this route is always a caller bug.
Authorizations
Parameters
Header Parameters
Request Body required
Mirrors UpdateTaskSettingsRequest. Partial update, but not an EMPTY one.
The app refuses a patch that sets nothing (422) rather than no-opping, and that refusal is worth keeping: an empty body is always a caller bug, and a silent 200 hides it.
default_visibility and parent_completion_mode are Literals here where
the app takes str and rejects an unknown value from inside the handler.
Same outcome, one layer earlier, and the legal values are in the schema.
object
Responses
200
Successful Response
object
An open envelope for one settings block, document or brand artefact.
OPEN on purpose. These surfaces are configuration and generated content, and both grow: a new toggle on a settings block or a new field on a generated document must reach a caller on the day it ships, not on the day somebody remembers to widen a mirror. A closed response model here would silently DROP the new key, which reads to the caller as “the product does not have that setting”.
The request side is the opposite and is mirrored exactly - see the module docstring for why the asymmetry is deliberate.
object
422
Validation Error