cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/volumes/{project_id}/{region_id}/{volume_id}/metadata \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "key": "<string>", "read_only": true, "value": "<string>" } ] }
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
Project ID
1
Region ID
Volume ID
"726ecfcc-7fd0-4e30-a86e-7892524aa483"
OK
Number of objects
x >= 0
Objects
Show child attributes
Was this page helpful?