Skip to main content

Mark notices read.

POST/api/v1/me/notices/batch-updateaccount:write

Needs Mark System Notices Read. is_read: true with notice_ids marks those notices read; without notice_ids it marks every unread notice of the last 30 days (Mark all read). Answers the unread count that remains with View System Notices, otherwise the write receipt. Idempotent.

Scopeaccount:write
AsynchronousNo
MCP toolbatch_update_my_notices
Portal permissionsmark_system_notices_read

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonNoticeBatchUpdateInput

Responses​

StatusDescriptionBody
200Success.application/json NoticeUnread or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

NoticeBatchUpdateInput​

FieldTypeRequiredDescription
is_readbooleanRequiredMust be true: a notice cannot be marked unread.
notice_idsarray of stringOptionalThe notices to mark read. Omitted: every unread notice of the last 30 days, the bell's Mark all read.

NoticeUnread​

FieldTypeRequiredDescription
unread_countintegerRequiredUnread notices of the last 30 days, the bell's badge. ≥ -2147483648; ≤ 2147483647