cURL
curl --request GET \ --url https://api.gcore.com/storage/provisioning/v1/storage/{id} \ --header 'Authorization: <api-key>'
{ "address": "<string>", "can_restore": true, "client_id": 123, "created_at": "<string>", "credentials": { "keys": [ { "created_at": "<string>", "id": 123, "name": "<string>" } ], "s3": { "access_key": "<string>", "secret_key": "<string>" }, "sftp_password": "<string>" }, "custom_config_file": true, "deleted_at": "<string>", "disable_http": true, "expires": "<string>", "id": 123, "location": "s-ed1", "name": "<string>", "provisioning_status": "<string>", "reseller_id": 123, "rewrite_rules": {}, "server_alias": "<string>", "type": "sftp" }
Get storage
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Storage
Show child attributes
s-ed1
s-ws1
ams
sin
fra
mia
sftp
s3
Was this page helpful?