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

# Update a project

> Update a project's display name and/or description. The project is identified by the
`project_id` path parameter alone; the `x-hh-project-id` header does not participate.
Only fields included in the request body are modified.




## OpenAPI

````yaml https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml put /v1/projects/{project_id}
openapi: 3.1.0
info:
  title: HoneyHive Control Plane API
  description: >
    Manage HoneyHive control-plane resources: projects and alerts.


    Authentication requires a fine-grained control-plane API key (values

    start with `hh_fgcp_`), sent as `Authorization: Bearer <api-key>`.

    Project API keys used with the Data Plane API will not work here. Create

    a key in the HoneyHive app under an organization's or workspace's

    **Settings → API Keys**, or see

    [Authorization](https://docs.honeyhive.ai/v2/control-plane-sdk-reference/typescript#authorization)

    for details.
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.7.0
servers:
  - url: https://api.cp.us.honeyhive.ai
security:
  - BearerAuth: []
tags:
  - name: Alerts
    description: >
      Define and manage alerts. Alerts evaluate event metrics on a schedule and
      trigger notifications when configured thresholds are crossed.
  - name: Projects
    description: >
      Create and manage projects within a workspace. A project is the container
      for the events, datasets, evaluations, and alerts logged against it.
paths:
  /v1/projects/{project_id}:
    put:
      tags:
        - Projects
      summary: Update a project
      description: >
        Update a project's display name and/or description. The project is
        identified by the

        `project_id` path parameter alone; the `x-hh-project-id` header does not
        participate.

        Only fields included in the request body are modified.
      operationId: updateProject
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            type: string
          description: The unique identifier of the project to update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutProjectRequest'
      responses:
        '200':
          description: Project updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateProjectResponse'
        '400':
          description: Invalid request body
        '404':
          description: Project not found
components:
  schemas:
    PutProjectRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          description: Project display name
        description:
          type: string
          description: Project description
      additionalProperties: false
      description: Request body for updating a project
    UpdateProjectResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/ProjectItem'
      required:
        - success
        - data
      additionalProperties: false
      description: The updated project
    ProjectItem:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          description: Project display name
        description:
          type: string
          description: Project description
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: string
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: string
            - type: 'null'
      required:
        - id
        - name
        - description
        - created_at
      additionalProperties: false
      description: Project object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````