cURL
curl --request GET \ --url https://api.gcore.com/storage/provisioning/v1/storage/{id}/s3/bucket/{name}/cors \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "allowedOrigins": [ "<string>" ] }'
{ "data": { "allowedOrigins": [ "<string>" ] } }
Get s3 storage bucket cors
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
StorageGetBucketCorsEndpointRes
StorageGetBucketCorsEndpointRes output
Was this page helpful?