POST
/
project
/
{project_id}
/
private-location
/
{private_location_name}
curl --request POST \
  --url https://api.ubicloud.com/project/{project_id}/private-location/{private_location_name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<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"

private_location_name
string
required

Name of the private location

Body

application/json
name
string
required

Name of 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