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

# Update a single project

`PATCH /projects/{projectId}`

## Request

- Base URL: `https://api.moneyhub.co.uk/v3`
- URL: `https://api.moneyhub.co.uk/v3/projects/{projectId}`
- Auth: API key in header `Authorization`

Requires **projects:write** scopes.

## Path parameters

- `projectId` string, uuid, required

## Request body

- ProjectPatch
  - `name` string: The name of the project
  - `accountIds` string[]: Account IDs that are associated with the project
  - `type` 'PropertyProject' | 'RentalProject' | 'GenericProject': The project type
  - `archived` boolean: Flag to determine if project is archived or not

## Response `200`

Successful Project Response

- object
  - `data` Project
    - `id` unknown, required
    - `name` string, required: The name of the project
    - `accountIds` string[], required: Account IDs that are associated with the project
    - `type` 'PropertyProject' | 'RentalProject' | 'GenericProject', required: The project type
    - `dateCreated` string, date-time: The date the project was created
    - `archived` boolean: Flag to show if project is archived or not
  - `links` Links
    - `next` string, uri: The url to retrieve the next page of results from
    - `prev` string, uri: The url to retrieve the previous page of results from
    - `self` string, uri, required: The url of the current resource(s)
  - `meta` object

## Other responses

- `401`: Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403`: Unsuccessful Response - Forbidden - Invalid scopes
- `404`: Unsuccessful Response - Resource Not found

---

[API](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3.md) - [All operations](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/revisions/2e08b5dbee56?raw)
