---
title: "Create a new private location"
method: POST
path: "/project/{project_id}/private-location"
tags: ["Private Location"]
---

# Create a new private location

`POST /project/{project_id}/private-location`

## Request body

- object
  - `name` string, required — Name of the private location
  - `provider_location_name` 'us-west-2' | 'us-east-1' | 'us-east-2' | 'ap-southeast-2' | 'eu-west-1', required — Provider location name of the private location
  - `access_key` string, required — Access key for the private location
  - `secret_key` string, required — Secret key for the private location

## Response `200`

A Private Location

- PrivateLocation
  - `id` string, required — ID of the private location
  - `name` string, required — Name of the private location
  - `ui_name` string, required — UI name of the private location
  - `provider` string, required — Name of the private location
  - `path` string, required — Path of the private location

## Other responses

- `default` — An error response

---

[API](https://skmtc.net/ubicloud/apis/clover-api.md) · [All operations](https://skmtc.net/ubicloud/apis/clover-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ubicloud/clover-api/versions/e8e5db50e9a6/schema)
