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

# Update Project

> <strong>Deprecated.</strong> Use the <code>Update Project</code> endpoint under Organization instead.

Updates the specified Project.

A Project is a unit of work where queries, data tables, and semantic catalogs are managed. Projects live inside Workspaces.


<span style={{display: "flex", gap: "10px", flexDirection: "row", alignItems: "center"}}>
  <img src="https://cdn.peaka.com/badges/partner-api-key-badge.png" />
</span>


## OpenAPI

````yaml put /projects/{projectId}
openapi: 3.0.1
info:
  title: Peaka Gateway API
  description: Peaka Gateway API Documentation
  version: '1.0'
servers:
  - url: https://partner.peaka.studio/api/v1
    description: Default Server URL (US Zone)
  - url: https://partner.eu.peaka.studio/api/v1
    description: EU Zone
security:
  - bearerAuth: []
paths:
  /projects/{projectId}:
    put:
      tags:
        - Projects (Deprecated)
      summary: Update Project
      description: >
        <strong>Deprecated.</strong> Use the <code>Update Project</code>
        endpoint under Organization instead.


        Updates the specified Project.


        A Project is a unit of work where queries, data tables, and semantic
        catalogs are managed. Projects live inside Workspaces.
      operationId: updateProject
      parameters:
        - name: projectId
          in: path
          description: ID of the Project
          required: true
          schema:
            type: string
          example: SksnYuxH
      requestBody:
        description: Project to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectRequest'
            examples:
              Update Project Example:
                description: Update Project Example
                value:
                  name: Updated Project Name
                  description: >-
                    Iste aut quo maxime dolorem atque. Alias neque porro. Fugiat
                    ipsam similique voluptate quam libero deserunt consequuntur
                    dolorum nobis.
        required: true
      responses:
        '200':
          description: Project updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
              examples:
                Update Project Example:
                  description: Update Project Example
                  value:
                    id: URNg0GIj
                    name: Updated Project Name
                    description: >-
                      Iste aut quo maxime dolorem atque. Alias neque porro.
                      Fugiat ipsam similique voluptate quam libero deserunt
                      consequuntur dolorum nobis.
                    domain: sampleprojectname-cdcn
                    webhookBaseUrl: null
                    createdAt: '2024-09-10T10:11:02.385253956Z'
      deprecated: true
components:
  schemas:
    ProjectRequest:
      required:
        - name
      type: object
      properties:
        name:
          type: string
          description: Project name
          example: My Project
        description:
          type: string
          description: Descriptive text about the project
          example: This is a project that does something
    Project:
      type: object
      properties:
        id:
          type: string
          description: Project ID
        name:
          type: string
          description: Project name
        description:
          type: string
          description: Descriptive text about the project
        domain:
          type: string
          description: Domain of the project
        webhookBaseUrl:
          type: string
          description: Webhook base URL
        createdAt:
          type: string
          description: The date and time the project was created
        owner:
          type: string
          description: The owner of the project
        workspaceId:
          type: string
          description: The workspace to which the project belongs
      description: Project
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        Use the Authorization header with the value 'Bearer <apiKey>' to
        authenticate. Partner API Keys have full access; Project API Keys are
        limited to their project scope. Learn more:
        https://docs.peaka.com/api-reference/authentication
      scheme: bearer
      bearerFormat: Api Key

````