POST
/
project
/
{project_id}
/
private-location
curl --request POST \
  --url https://api.ubicloud.com/project/{project_id}/private-location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "provider_location_name": "us-east-1",
  "access_key": "<string>",
  "secret_key": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "ui_name": "<string>",
  "provider": "<string>",
  "path": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

Body

application/json
name
string
required

Name of the private location

provider_location_name
enum<string>
required

Provider location name of the private location

Available options:
us-east-1,
eu-west-1
access_key
string
required

Access key for the private location

secret_key
string
required

Secret key for the private location

Response

200
application/json
A Private Location
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