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

# Update Project

### URL Parameters

<ParamField path="projectId" type="string" required>
  The unique identifier of the project to update
</ParamField>

### Body Parameters

<ParamField body="name" type="string">
  The new name for the project
</ParamField>

<ParamField body="description" type="string">
  The new description for the project
</ParamField>

### Response

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="message" type="string">
  A message describing the result of the operation
</ResponseField>

<ResponseField name="data" type="object">
  The updated project object

  <Expandable title="Properties">
    <ResponseField name="id" type="string">
      Unique identifier for the project
    </ResponseField>

    <ResponseField name="name" type="string">
      Updated name of the project
    </ResponseField>

    <ResponseField name="description" type="string">
      Updated description of the project (if provided)
    </ResponseField>

    <ResponseField name="company" type="string">
      Company ID associated with the project
    </ResponseField>

    <ResponseField name="environment" type="string">
      Environment of the project (e.g., "development")
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      Timestamp when the project was created
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      Timestamp when the project was last updated
    </ResponseField>
  </Expandable>
</ResponseField>

### Response Example

```json theme={null}
{
  "success": true,
  "message": "Project updated successfully",
  "data": {
    "id": "proj_01JWB8YZNBQDJA3VZ3F8Z9C5NX",
    "name": "Updated project",
    "company": "6836eb8d404feca42c262a86",
    "environment": "development",
    "createdAt": "2025-05-28T11:03:12.308Z",
    "updatedAt": "2025-06-05T07:56:00.111Z"
  }
}
```
