> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devmob.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Mark All Notifications As Read

> Marks all unread notifications as read.



## OpenAPI

````yaml /api-reference/driver/openapi.json post /api/v1/driver/notifications/read-all
openapi: 3.0.0
info:
  title: DEVMOB Driver API
  description: DEVMOB API
  version: '1.0'
  contact: {}
servers: []
security: []
tags:
  - name: Auth
    description: Authentication and token lifecycle
  - name: Invite
    description: Driver invitation preview and acceptance
  - name: Notification
    description: Driver inbox notifications
  - name: OTP
    description: One-time password flows
  - name: Profile
    description: Authenticated driver profile
  - name: Session
    description: Authenticated sessions
  - name: Storage
    description: Storage uploads
  - name: Trip
    description: Driver trips
  - name: Trip Boarding
    description: Ticket boarding
  - name: Trip Event
    description: Trip operational events
  - name: Trip Manifest
    description: Trip passenger manifest
  - name: Trip Tracking
    description: Driver GPS tracking
paths:
  /api/v1/driver/notifications/read-all:
    post:
      tags:
        - Notification
      summary: Mark All Notifications As Read
      description: Marks all unread notifications as read.
      operationId: markAllDriverNotificationsAsRead
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationBulkUpdateResult'
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    NotificationBulkUpdateResult:
      type: object
      properties:
        updatedCount:
          type: integer
          description: Updated notification count.
          example: 3
      required:
        - updatedCount
      description: Bulk notification update result.
    ValidationError:
      type: object
      properties:
        statusCode:
          type: integer
          description: HTTP status code.
          example: 400
        message:
          type: string
          description: Error message.
          example: Bad Request Error
        errors:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                description: Validation code.
                example: invalid_type
              message:
                type: string
                description: Validation message.
                example: Required
              path:
                type: string
                description: Invalid field path.
                example: name
            required:
              - code
              - message
              - path
      required:
        - statusCode
        - message
        - errors
      description: Validation error response.
    ApiError:
      type: object
      properties:
        statusCode:
          type: integer
          description: HTTP status code.
          example: 404
        error:
          type: string
          description: HTTP error name.
          example: Not Found
        message:
          type: string
          description: Machine-readable error code.
          example: resource.not_found
      required:
        - statusCode
        - error
        - message
      description: Domain error response.
  responses:
    BadRequestError:
      description: Validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    UnauthorizedError:
      description: Authentication required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalServerError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'

````