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

# Update Defect Status

> PUT request to update defect status.



## OpenAPI

````yaml https://api.connectedfleet.michelin.com/vehicle-checks/api-docs put /api/v1/vehicle-checks/defects/defect-status/{defectId}
openapi: 3.0.3
info:
  title: Masternaut Vehicle Checks Public API
  contact:
    name: Masternaut
    url: https://www.masternaut.com
    email: support@masternautconnect.com
  version: 1.0.0
servers:
  - url: https://api.connectedfleet.michelin.com/vehicle-checks
security: []
tags:
  - name: /vehicle-checks
    description: Vehicle check and inspection operations
paths:
  /api/v1/vehicle-checks/defects/defect-status/{defectId}:
    put:
      tags:
        - /vehicle-checks
      summary: Update Defect Status
      description: PUT request to update defect status.
      operationId: updateDefectStatus
      parameters:
        - name: defectId
          in: path
          required: true
          schema:
            type: string
          description: System-generated unique identifier for the defect.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckDefectStatusDetailDto'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                example: OPEN
      security:
        - bearerAuth: []
components:
  schemas:
    CheckDefectStatusDetailDto:
      properties:
        status:
          type: string
          description: >-
            The status to which the defect should be updated. Possible options
            for status: OPEN, DEFERRED, CLOSED_REPAIRED, CLOSED_DUPLICATE,
            CLOSED_NO_FAULT_FOUND.
        signature:
          type: string
          description: The signature of the person who modified the status.
        repairDate:
          type: string
          description: Date of repair in UTC, in the format yyyy-MM-dd'T'HH:mm'Z'.
        notes:
          type: string
          description: >-
            The notes for this status change. Included in the response if notes
            have been specified for this status change.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````