GET
/
storage
/
provisioning
/
v1
/
storage
/
{id}
/
s3
/
bucket
/
{name}
/
cors
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>"
    ]
  }
}

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

Path Parameters

id
integer
required
name
string
required

Body

application/json

Response

200
application/json

StorageGetBucketCorsEndpointRes

StorageGetBucketCorsEndpointRes output