Skip to main content
POST
/
storage
/
v4
/
object_storages
Create S3-compatible storage
curl --request POST \
  --url https://api.gcore.com/storage/v4/object_storages \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "location_name": "s-ed1",
  "name": "my-storage-prod"
}
'
{
  "access_keys": [
    {
      "access_key": "AKIAIOSFODNN7EXAMPLE",
      "secret_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
    }
  ],
  "address": "luxembourg-2.storage.example.com",
  "created_at": "2025-08-05 09:17:02+00:00",
  "id": 1,
  "location_name": "luxembourg-2",
  "name": "my-storage-prod",
  "provisioning_status": "active"
}

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

Body

application/json
location_name
string
required

Location code where the storage should be created

Example:

"s-ed1"

name
string
required

User-defined name for the storage instance

Example:

"my-storage-prod"

Response

S3StorageResV4

access_keys
S3CredentialsV4 S3-compatible access key pair for authenticating requests to the storage endpoint. · object[]
required

S3 access keys

address
string
required

Full hostname/address for accessing the storage endpoint

Example:

"luxembourg-2.storage.example.com"

created_at
string<date-time>
required

ISO 8601 timestamp when the storage was created

Example:

"2025-08-05 09:17:02+00:00"

id
integer<int64>
required

Unique identifier for the storage instance

Example:

1

location_name
string
required

Geographic location code where the storage is provisioned

Example:

"luxembourg-2"

name
string
required

User-defined name for the storage instance

Example:

"my-storage-prod"

provisioning_status
enum<string>
required

Lifecycle status of the storage. Use this to check readiness before operations.

Available options:
creating,
active,
updating,
deleting,
deleted
Example:

"active"