すべての通知を既読にする

PUT/notifications/read-all

認証中ユーザーの未読通知をすべて既読にします。既読にした件数を返します。

認証要ログイン

レスポンス

フィールド説明
successboolean常に true。
readCountnumber既読にした件数。
リクエスト
curl https://api.4s.link/notifications/read-all \
-X PUT \
-H "Authorization: Bearer 4s_at_..."
レスポンス例
{
"success": true,
"readCount": 3
}