---
title: "Add standalone"
method: POST
path: "/api/v1/repositories/add-standalone"
tags: ["Repositories"]
---

# Add standalone

`POST /api/v1/repositories/add-standalone`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/repositories/add-standalone`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Add a standalone repository for organizational use with uploaded code or with the CLI.

## Request body

- object
  - `organizationId` string, required: Organization to add the repository to
  - `repositoryName` string, required: Name for the standalone repository
  - `isEphemeral` boolean: When true, indicates this is a CLI-created repository that should be hidden from the UI

## Response `200`

Successfully added standalone repository

- object
  - `id` string: Unique identifier of the created repository

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
