Update Topic Overrides Endpoint

PUT /api/v1/preferences/notifications/topics

Replace the per-topic channel override map for the current user.

Validation is permissive: unknown topics or unknown channels are silently dropped by extract_topic_overrides rather than rejected, so a forward-compatible client (e.g. one that knows about a topic the server hasn't deployed yet) won't break the save.

Operation ID: update_topic_overrides_endpoint_api_v1_preferences_notifications_topics_put · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

overrides object

Responses

200 Successful Response

overrides object

Map of topic -> {channel: bool}

available_channels array · string

Channels the override grid can toggle

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object