---
title: "Update a project"
method: PATCH
path: "/projects/{id}"
tags: ["projects"]
---

# Update a project

`PATCH /projects/{id}`

Updates an existing project. Only provided fields are modified.

**Rate limit:** 60 requests per minute

## Path parameters

- `id` string, required

## Request body

- UpdateProjectRequestBody
  - `custom_fields` CustomFieldValue[] — An array of custom fields to be used on this project. Only passed in fields will be modified.
    - `slug` string — The slug of the custom field.
    - `value` string — The value of the custom field. Only to be used for single-valued custom fields. If unset, the custom field will be unset. If the custom field is a select field, the value must be the select option slug, which you can find from the GET /custom-fields endpoint. If the custom field is a relationship field, the value must be the related object ID.
    - `values` string[] — The values of the custom field. Only to be used for multi-valued custom fields (ex. multiselect). If unset, the custom field will be unset. If the custom field is a multiselect field, the values must be the select option slugs which you can find from the GET /custom-fields endpoint.
  - `customer_portal_visible` boolean — Customer portal visible for this project
  - `description_html` string — Description HTML for this project
  - `end_date` string — End date for this project, in RFC 3339 format
  - `is_archived` boolean — Whether the project is archived
  - `name` string — Name for this project
  - `owner_id` string — Owner ID for this project
  - `start_date` string — Start date for this project, in RFC 3339 format

## Response `200`

- UpdateProjectResponseBody
  - `data` Project
    - `account` MiniAccount
      - `external_ids` ExternalID[] — External IDs associated with the account.
        - `external_id` string — The external ID. Must be unique per object type (ex. account).
        - `label` string — The label of the external ID. Must be unique per object.
      - `id` string — The ID of the account.
    - `archived_at` string — The archived at time of the project in RFC3339 format.
    - `created_at` string — The created at time of the project.
    - `custom_fields` object — Custom fields for this project, keyed by slug.
    - `customer_portal_visible` boolean — The customer portal visible of the project.
    - `description_html` string — The description of the project in HTML format.
    - `end_date` string — The end date of the project in RFC3339 format.
    - `id` string — The ID of the project.
    - `is_archived` boolean — Whether the project is archived.
    - `name` string — The name of the project.
    - `owner_id` string — The owner ID of the project.
    - `project_template` MiniProjectTemplate
      - `id` string — The ID of the project template.
    - `start_date` string — The start date of the project in RFC3339 format.
    - `updated_at` string — The updated at time of the project.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/999c51740b4e/schema)
