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

# Update project

> Rename a project or change its default application, as Project Settings and Settings → Applications & Envs do.

Only the fields you pass change. After a rename the name part of `shortId` changes; the previous short ID keeps working.



## OpenAPI

````yaml /api-reference/api.json patch /v1/projects/{projectShortId}
openapi: 3.0.0
info:
  title: QA.tech API
  version: 1.0.0
  contact:
    name: QA.tech
    url: https://qa.tech
    email: support@qa.tech
  description: API for triggering and managing AI-powered test runs
servers:
  - url: https://api.qa.tech
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Runs
  - name: Infrastructure
  - name: Test Cases
  - name: Application Builds
  - name: Status badge
  - name: Remote Tunnels
  - name: Chat
  - name: Applications
  - name: Features
  - name: Metrics
  - name: Projects
  - name: Knowledge
  - name: Rules
  - name: Configs
  - name: Labels
  - name: Scenarios
  - name: Issues
  - name: Todos
  - name: Automations
  - name: Test plans
paths:
  /v1/projects/{projectShortId}:
    patch:
      tags:
        - Projects
      summary: Update project
      description: >-
        Rename a project or change its default application, as Project Settings
        and Settings → Applications & Envs do.


        Only the fields you pass change. After a rename the name part of
        `shortId` changes; the previous short ID keeps working.
      operationId: UpdateProject
      parameters:
        - name: projectShortId
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/ProjectShortId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateProjectResponse'
components:
  schemas:
    ProjectShortId:
      type: string
      pattern: ^proj(-.+_.+|_.+)$
    UpdateProjectRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
          description: New project name.
        defaultApplicationShortId:
          allOf:
            - $ref: '#/components/schemas/ApplicationShortId'
          description: >-
            Application that chats, runs and new tests use when no application
            is named. Must belong to this project.
      description: Fields to change on a project. Only the fields you pass change.
    UpdateProjectResponse:
      type: object
      required:
        - project
      properties:
        project:
          $ref: '#/components/schemas/ProjectListItem'
    ApplicationShortId:
      type: string
      pattern: ^app(-.+_.+|_.+)$
    ProjectListItem:
      type: object
      required:
        - shortId
        - name
        - slug
        - url
        - defaultApplicationShortId
      properties:
        shortId:
          allOf:
            - $ref: '#/components/schemas/ProjectShortId'
          description: >-
            Prefixed project short ID (proj-slug_shortId); pass this back as
            projectShortId on other endpoints.
        name:
          type: string
        slug:
          type: string
        url:
          type: string
        defaultApplicationShortId:
          type: string
          allOf:
            - $ref: '#/components/schemas/ApplicationShortId'
          nullable: true
      description: A project in the organization, usable as a `projectShortId` target.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.