# Private projects

Source: https://openpanel.sh/docs/members/private-projects

A project that only the people given access see, how to create one or make one private, and who keeps access.

A project is seen either by the whole organization or, when it is private, only by the people given access to it.

| Visibility | Who reaches the project |
|---|---|
| **organization** (the default) | Every member, at the level their role gives, unless they have [their own access](/docs/members/per-project-access) to it. |
| **private** | Only the members given access to it, and the Owner. Roles give nothing here. |

A private project is missing from the project list of everyone else, and reaching it by its ID answers "not found", so its existence does not show.

In the console, visibility is chosen under **Who can see it** when you create a project, and changed later in the project's settings, under **Visibility**. The [CLI](/docs/cli), the [API](/docs/api) and [MCP](/docs/ai) do the same.

## Who is in a private project [#who-is-in-a-private-project]

- **Whoever creates a project gets admin access to it**, private or not.
- **Whoever makes a project private keeps admin access to it.** An Admin who makes a project private gets their own admin access first, so they do not lose it.
- **The Owner always has admin access**, to every project, private ones too. The Owner can remove anyone and delete the organization, so hiding a project from them would protect nothing.
- **Everyone else needs their own access**, given by someone with admin access to the project. See [Per-project access](/docs/members/per-project-access).

## Create a private project [#create-a-private-project]

<Tabs items={["Console","CLI","API"]}>
<Tab value="Console">
On the **Projects** page, click **New project**, give it a **Name**, choose **Private: only the people you add** under **Who can see it**, and click **Create project**.
</Tab>

<Tab value="CLI">
```sh
openpanel projects create billing --private
```
</Tab>

<Tab value="API">
```sh
curl -X POST https://openpanel.sh/api/v1/projects \
  -H "Authorization: Bearer $OPENPANEL_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "billing", "visibility": "private"}'
```
</Tab>
</Tabs>

Creating a project needs **Can deploy**, Admin or Owner.

## Make a project private, or visible again [#make-a-project-private-or-visible-again]

You need admin access to the project.

<Tabs items={["Console","CLI","API"]}>
<Tab value="Console">
Open the project's **Project settings**. Under **Visibility**, choose **Private: only the people you add**, or **Everyone in** your organization to show it to everyone again, and click **Save**.
</Tab>

<Tab value="CLI">
```sh
openpanel projects visibility shop private
```

```text
shop is now private: only people given access see it.
```

To show it to the whole organization again:

```sh
openpanel projects visibility shop organization
```
</Tab>

<Tab value="API">
```sh
curl -X PATCH https://openpanel.sh/api/v1/projects/$PROJECT_ID \
  -H "Authorization: Bearer $OPENPANEL_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"visibility": "private"}'
```

Send `"organization"` to show it to the whole organization again.
</Tab>
</Tabs>

The change applies at once. Members who had no access of their own stop seeing the project; members with their own access keep exactly that level.

## Share a private project [#share-a-private-project]

Give each person their own access with a level: in the console, under **Access** in the project's settings; from the CLI:

```sh
openpanel projects access billing ruta@example.com deploy
```

See [Per-project access](/docs/members/per-project-access).

## What a private project does not hide [#what-a-private-project-does-not-hide]

- **The audit log.** The Owner and Admins read the whole organization's audit log, including changes in private projects. See [Audit log](/docs/monitoring/audit-log).
- **Servers.** A private project's services run on the organization's servers, which every member sees, with their live state.