curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/private-location \
--header 'Authorization: Bearer <token>'
{
"count": 123,
"items": [
{
"id": "<string>",
"name": "<string>",
"ui_name": "<string>",
"provider": "<string>",
"path": "<string>"
}
]
}
curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/private-location \
--header 'Authorization: Bearer <token>'
{
"count": 123,
"items": [
{
"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"
A list of Private Locations
The response is of type object
.