GET
/
storage
/
provisioning
/
v1
/
location
List locations
curl --request GET \
  --url https://api.gcore.com/storage/provisioning/v1/location \
  --header 'Authorization: <api-key>'
[
  {
    "address": "s-ed1.cloud.example.com",
    "allow_for_new_storage": "allow",
    "id": 1,
    "name": "s-ed1",
    "type": "s3"
  }
]

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Response

clientLocationRes

address
string
required

Full hostname/address for accessing the storage endpoint

Example:

"s-ed1.cloud.example.com"

allow_for_new_storage
enum<string>
required

Indicates whether new storage can be created in this location: allow enables storage creation, deny prevents it

Available options:
deny,
allow
Example:

"allow"

id
integer
required
Example:

1

name
enum<string>
required
Available options:
s-ed1,
s-drc2,
s-sgc1,
s-nhn2,
s-darz,
s-ws1,
ams,
sin,
fra,
mia
Example:

"s-ed1"

type
enum<string>
required
Available options:
s3,
sftp