---
title: "PUT /site/import"
method: PUT
path: "/site/import"
tags: ["Site"]
---

# PUT /site/import

`PUT /site/import`

Import site

## Request body

- Import
  - `orgName` string
  - `repoName` string

## Response `204`

Returns site settings

- SettingsFull
  - `general` object
    - `node_version` string
    - `root_directory` string
    - `main_branch` string
  - `vars` object[]
    - `key` string
    - `value` string
  - `commands` object
    - `framework` string
    - `build_command` string
    - `output_directory` string
    - `install_command` string
    - `development_command` string
  - `auth` object
    - `type` string

## Other responses

- `400` — code 4 = Organization not found or permission denied. code 5 = Domain already in use
- `403` — Forbidden
- `500` — Server error code 0 = Github application not installed on this account/organization. code 1 = File .npmrc already exists on this project. code 2 = File .yarnrc already exists on this project. code 3 = bohr workflow is already present in this repository. Error 1001 = invalid environment variable. Key must have 2 or more characters. Error 1003 = Invalid subdomain name

---

[API](https://skmtc.net/bohr-io/apis/bohr-io-api.md) · [All operations](https://skmtc.net/bohr-io/apis/bohr-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bohr-io/bohr-io-api/revisions/926405b5dade/schema)
