---
title: "Update project"
method: PATCH
path: "/project/{projectID}"
---

# Update project

`PATCH /project/{projectID}`

Update project properties such as name, icon, and commands.

## Path parameters

- `projectID` string, required

## Query parameters

- `directory` string

## Request body

- object
  - `name` string
  - `icon` object
    - `url` string
    - `override` string
    - `color` string
  - `commands` object
    - `start` string — Startup script to run when creating a new workspace (worktree)

## Response `200`

Updated project information

- Project
  - `id` string, required
  - `worktree` string, required
  - `vcs` 'git'
  - `name` string
  - `icon` object
    - `url` string
    - `override` string
    - `color` string
  - `commands` object
    - `start` string — Startup script to run when creating a new workspace (worktree)
  - `time` object, required
    - `created` number, required
    - `updated` number, required
    - `initialized` number
  - `sandboxes` string[], required

## Other responses

- `400` — Bad request
- `404` — Not found

---

[API](https://skmtc.net/cyberstrikeus/apis/cyberstrike.md) · [All operations](https://skmtc.net/cyberstrikeus/apis/cyberstrike/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cyberstrikeus/cyberstrike/versions/4e11f1aed2fd/schema)
