---
title: "Update Project"
method: PATCH
path: "/accounts/projects/{id}"
tags: ["hubProjects"]
---

# Update Project

`PATCH /accounts/projects/{id}`

Update project details such as name, end date, or payment method. Requires Super Admin role.

## Path parameters

- `id` string, required

## Request body

- ProjectUpdate
  - `name` string — Updated project name
  - `description` string — Updated project description
  - `payment_method_id` string, uuid — Updated payment method

## Response `200`

Project updated

- Project
  - `id` string, uuid, required — Unique identifier for the project
  - `name` string, required — Project name
  - `description` string, nullable — Project description
  - `payment_method_id` string, uuid, required — Payment method associated with this project
  - `users` User[] — Users assigned to this project
    - `id` string, uuid, required — Unique identifier for the user
    - `email` string, email, required — User's email address
    - `first_name` string — User's first name
    - `last_name` string — User's last name
    - `role` 'super_admin' | 'creator' | 'reader', required — User role within the Hub organization. super_admin can manage all resources, creator can create orders, reader has view-only access.
    - `projects` string[] — List of project IDs the user has access to
    - `created_at` string, date-time — Timestamp when the user was created
  - `total_spend` number, double — Total amount spent on this project in USD
  - `created_at` string, date-time — Timestamp when the project was created
  - `updated_at` string, date-time — Timestamp when the project was last updated

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.net/skywatch/apis/api-specification.md) · [All operations](https://skmtc.net/skywatch/apis/api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skywatch/api-specification/revisions/51f7c5a8d15d/schema)
