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

# Update Project

> Update a details of the Project



## OpenAPI

````yaml PUT /project/{projectId}
openapi: 3.0.1
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.teamcamp.app/v1.0/
security:
  - bearerAuth: []
paths:
  /project/{projectId}:
    put:
      description: Update a details of the Project
      parameters:
        - name: projectId
          in: path
          description: ID of project to delete
          required: true
          schema:
            type: string
      requestBody:
        description: Update a details of the Project
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProject'
        required: true
      responses:
        '200':
          description: Project response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getProject'
        '400':
          description: unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    UpdateProject:
      allOf:
        - type: object
          properties:
            projectName:
              description: The Name of the project.
              type: string
            customerId:
              description: The ID of the customer.
              type: string
            startDate:
              description: The start date of the project, We expect yyyy-MM-dd.
              format: date
            dueDate:
              description: The due date of the project, We expect yyyy-MM-dd.
              format: date
            description:
              description: Description of the project.
              type: string
            priority:
              description: >-
                Enabling this attribute allows the ability to prioritize tasks
                within the project by setting their priority levels. When
                activated, team members can assign priority levels to tasks,
                helping to ensure that the most important tasks are addressed
                promptly. This attribute is represented as a boolean value,
                indicating whether the priority feature is enabled or not.
              type: boolean
            defaultPriority:
              description: Set the default priority for the project's tasks.
              type: string
              enum:
                - No Priority
                - Urgent
                - High
                - Medium
                - Low
            estimate:
              description: >-
                This attribute enables the estimation of the time required for
                completing tasks within the project's task set. When enabled, it
                allows project managers or team members to assign time estimates
                to individual tasks, aiding in scheduling and resource
                allocation. It is represented as a boolean value, indicating
                whether the estimation feature is enabled or not.
              type: boolean
            milestone:
              description: >-
                A milestone marks a significant point in a project's progress,
                typically indicating the completion of a key deliverable or the
                achievement of an important objective. Once a milestone is
                reached, it may trigger the creation of tasks necessary to
                accomplish the project's goals. This attribute is represented as
                a boolean value, indicating whether the milestone has been
                enabled or not.
              type: boolean
    getProject:
      allOf:
        - $ref: '#/components/schemas/getProjects'
        - type: object
          properties:
            workspaceId:
              description: The ID of the workspace.
              type: string
            ownerId:
              description: The ID of the owner.
              type: string
            description:
              description: Description of the project.
              type: string
            customerId:
              description: The ID of the customer.
              type: string
            startDate:
              description: The start date of the project.
              type: string
            dueDate:
              description: The due date of the project.
              type: string
            favoriteUsers:
              description: List of users who marked the project as favorite.
              type: array
              items:
                type: string
            projectUsers:
              description: List of users associated with the project.
              type: array
              items:
                type: string
    Error:
      required:
        - error
      type: object
      properties:
        error:
          type: string
    getProjects:
      required:
        - name
      type: object
      properties:
        projectId:
          description: The ID of the project.
          type: string
        projectName:
          description: The Name of the project.
          type: string
  securitySchemes:
    bearerAuth:
      type: apiKey
      name: apiKey
      in: header

````