---
title: "Update Project"
method: PUT
path: "/api/projects/{project_id}"
tags: ["project"]
---

# Update Project

`PUT /api/projects/{project_id}`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/projects/{project_id}`
- Auth: none declared

Update a project.

The caller edits what they reach: connections, tables, terms and documents
of connections they cannot reach are kept as they are.

## Path parameters

- `project_id` string, uuid, required

## Cookies

- `session` string, nullable

## Request body

- ProjectUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `databaseIds` string[], nullable
  - `visibility` 'private' | 'scoped' | 'everyone', nullable
  - `tables` ProjectTableCreate[], nullable
    - `databaseId` string, uuid, nullable
    - `databaseName` string, nullable
    - `schemaName` string, nullable
    - `tableName` string, nullable
  - `termIds` string[], nullable
  - `documentIds` string[], nullable
  - `topicIds` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
