Managed Object Storage
Managed Object Storage provides S3-compatible object storage for storing and retrieving any amount of data. Access your storage via the S3 API or web console.
List regions
Returns a list of available object storage regions.
Request
curl -X GET https://api.upcloud.com/1.3/object-storage-2/regions \
-u your_username:your_password
Get region details
Returns details of a specific object storage region including available zones.
Request
curl -X GET https://api.upcloud.com/1.3/object-storage-2/regions/europe-1 \
-u your_username:your_password
List services
Returns a list of all object storage services in the account.
Request
curl -X GET https://api.upcloud.com/1.3/object-storage-2 \
-u your_username:your_password
Get service details
Returns detailed information about a specific object storage service.
Request
curl -X GET https://api.upcloud.com/1.3/object-storage-2/06e1bf60-2a3b-4c5d-9e7f-8a1b2c3d4e5f \
-u your_username:your_password
Create service
Creates a new object storage service.
Attributes
- Name
name- Type
- string
- Description
Service name. Required.
- Name
region- Type
- string
- Description
Region identifier. Required.
- Name
configured_status- Type
- string
- Description
Initial status: "started" or "stopped".
- Name
networks- Type
- array
- Description
Network configurations for private access.
- Name
labels- Type
- array
- Description
Labels for classification.
Request
curl -X POST https://api.upcloud.com/1.3/object-storage-2 \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"name": "my-object-storage",
"region": "europe-1",
"configured_status": "started"
}'
Modify service
Modifies an existing object storage service.
Request
curl -X PATCH https://api.upcloud.com/1.3/object-storage-2/06e1bf60-2a3b-4c5d-9e7f-8a1b2c3d4e5f \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"configured_status": "stopped"
}'
Delete service
Deletes an object storage service. All buckets must be empty before deletion.
Request
curl -X DELETE https://api.upcloud.com/1.3/object-storage-2/06e1bf60-2a3b-4c5d-9e7f-8a1b2c3d4e5f \
-u your_username:your_password
Create bucket
Creates a new bucket in the object storage service.
Attributes
- Name
name- Type
- string
- Description
Bucket name (DNS-compatible, lowercase). Required.
Request
curl -X POST https://api.upcloud.com/1.3/object-storage-2/06e1bf60-2a3b-4c5d-9e7f-8a1b2c3d4e5f/buckets \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"name": "my-new-bucket"
}'
Delete bucket
Deletes a bucket. The bucket must be empty.
Request
curl -X DELETE https://api.upcloud.com/1.3/object-storage-2/06e1bf60-2a3b-4c5d-9e7f-8a1b2c3d4e5f/buckets/my-new-bucket \
-u your_username:your_password