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>"
}
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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
Name of the private location
A Private Location
The response is of type object
.