---
title: "UpdateProject updates a project"
method: PATCH
path: "/v1/orgs/{org}/projects/{project}"
---

# UpdateProject updates a project

`PATCH /v1/orgs/{org}/projects/{project}`

## Path parameters

- `org` string, required
- `project` string, required

## Request body

- object
  - `archiveAssetId` string
  - `description` string
  - `devSlots` string, int64
  - `devTtlSeconds` string, int64
  - `directoryName` string
  - `gitRemote` string
  - `newName` string
  - `overrideDiskGb` string, int64
  - `primaryBranch` string
  - `prodSlots` string, int64
  - `prodTtlSeconds` string, int64
  - `prodVersion` string
  - `provisioner` string
  - `public` boolean
  - `subpath` string
  - `superuserForceAccess` boolean

## Response `200`

A successful response.

- V1UpdateProjectResponse
  - `project` V1Project
    - `annotations` object
    - `archiveAssetId` string
    - `createdByUserId` string
    - `createdOn` string, date-time
    - `description` string
    - `devSlots` string, int64
    - `devTtlSeconds` string, int64
    - `directoryName` string
    - `frontendUrl` string — Note: Does NOT incorporate the parent org's custom domain.
    - `gitRemote` string
    - `id` string
    - `managedGitId` string — managed_git_id is set if the project is connected to a rill-managed git repo.
    - `name` string
    - `orgId` string
    - `orgName` string
    - `overrideDiskGb` string, int64
    - `primaryBranch` string
    - `primaryDeploymentId` string
    - `prodSlots` string, int64
    - `prodTtlSeconds` string, int64
    - `prodVersion` string
    - `provisioner` string
    - `public` boolean
    - `subpath` string
    - `updatedOn` string, date-time

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-05-15** (v1) `381a267477cc` — 1 info
  - added the new optional request property `devTtlSeconds`
- **2026-05-13** (v1) `a33e730a9000` — 2 info
  - added the new optional request property `overrideDiskGb`
  - added the optional property `project/overrideDiskGb` to the response with the `200` status
- **2026-05-06** (v1) `0aeb660cd27f` — 1 info
  - added the optional property `project/devTtlSeconds` to the response with the `200` status
- **2026-04-21** (v1) `600528969633` — 1 info
  - added the new optional request property `devSlots`
- **2025-12-19** (v1) `c0043bbd6982` — 3 warning, 3 info
  - removed the request property `prodBranch`
  - removed the optional property `project/prodBranch` from the response with the `200` status
  - removed the optional property `project/prodDeploymentId` from the response with the `200` status
  - added the new optional request property `primaryBranch`
  - …2 more

[Full history](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/orgs/:org/projects/:project/patch.md)

---

[API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.dev/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/abe7a430f373/schema)
