IDrive® e2 S3 Compatible API
The IDrive® e2 S3-Compatible API supports the most widely used operations from the Amazon Simple Storage Service (S3) API, making it easy to integrate with your existing applications, data management platforms, and S3-compatible gateways. Most developers access IDrive® e2 using AWS SDKs or S3 commands through the AWS CLI. If you prefer to work directly with the IDrive® e2 S3-Compatible API this documentation serves as a comprehensive reference.
Prerequisites:
Before using IDrive® e2 S3-Compatible API, you require:
- An active IDrive® e2 account. Sign up here if you do not have one.
- A bucket in IDrive® e2. See how to create a bucket.
- Valid Access Key ID and Secret Access Key. Learn how to create an access key.
Request and Response Formats
Communicate with the API by sending HTTP requests to resource endpoints. The HTTP method determines the action taken.
| Method | Description |
|---|---|
| DELETE | Use the DELETE method to destroy a resource such as a bucket, object or bucket setting. If it is not found, the operation will return a 4xx error and an appropriate message. |
| GET | To retrieve object data or configuration, use the GET method. Object data is returned in the format it was written; configuration is returned as XML. GET methods are read-only and do not modify any resources. |
| PUT | Use the PUT method to write object data or configuration. Configuration must be formatted as XML according to the schema defined by the Amazon S3 API. |
| POST | Use the POST method with the S3 Delete Object, S3 Complete Multipart Upload, and S3 Create Multipart Upload operations. |
Response Codes
The following table provides possible response codes and their descriptions.
| 200 |
OK The response contains your requested information. |
| 201 |
Created Your request was accepted. The resource was created. |
| 202 |
Accepted Your request was accepted. The resource was created or updated. |
| 204 |
No Content Your request succeeded, there is no additional information returned. |
| 400 |
Bad Request Your request was malformed. |
| 401 |
Unauthorized You did not supply valid authentication credentials. |
| 403 |
Forbidden You are not allowed to perform that action. |
| 404 |
Not Found No results were found for your request. |
| 429 |
Too Many Requests Your request exceeded the API rate limit. |
| 500 |
Internal Server Error We were unable to perform the request due to server-side problems. |
Object Operations
- S3 Copy Object
- S3 Delete Object
- S3 Delete Objects
- S3 Get Object
- S3 Get Object Legal Hold
- S3 Get Object Retention
- S3 Head Object
- S3 Put Object
- S3 Put Object Legal Hold
- S3 Put Object Retention
Bucket Operations
- S3 Put Bucket Logging
- S3 Get Bucket Logging
- S3 Create Bucket
- S3 Delete Bucket
- S3 Delete Bucket CORS
- S3 Delete Bucket Encryption
- S3 Get Bucket CORS
- S3 Get Bucket Encryption
- S3 Get Bucket Location
- S3 Get Bucket Versioning
- S3 Get Object Lock Configuration
- S3 Head Bucket
- S3 Delete Lifecycle Configuration
- S3 Get Lifecycle Configuration
- S3 Put Lifecycle Configuration
- S3 List Buckets
- S3 List Object Versions
- S3 List Objects
- S3 List Objects V2
- S3 PUT bucket Cors
- S3 Put Bucket Encryption
- S3 Put Object Lock Configuration
- S3 Complete Multipart Upload
- S3 Abort Multipart Upload
- S3 Get Bucket Policy
- S3 Get Bucket Tagging
- S3 Put Bucket Tagging
- S3 Delete Bucket Tagging
- S3 Get Bucket Notification Configuration
- S3 Put Bucket Notification Configuration
S3 Copy Object :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-object>
Creates a copy of an object that is already stored in IDrive® e2 Cloud Storage.
Object Tagging:
The S3-compatible API does not fully support object tagging. The x-amz-tagging header
will be explicitly rejected if it is included on the Copy Object (or Put Object) API
calls. This implementation is provided for compatibility with certain integrations.
Checksum Data:
Checksum data for replicated or copied objects is maintained. If the source object has
a checksum algorithm, copied parts and byte ranges will compute the appropriate
checksum value of the source's type. Currently, we do not support the ability to use
the S3 Copy Object operation to change the checksum algorithm.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| x-amz-copy-source | Required. The name of the source bucket and the key of the source object in the form /. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| Key | Required. Key of the object to be written. |
Example Request
Shell
curl --location --request PUT 'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-2' \
--header 'x-amz-copy-source: my-bucket-name/object-1' \
--data ''
Example Response
Body
XML
<CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<LastModified>2026-03-30T06:32:10.352Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
</CopyObjectResult>
Headers (8)
| x-amz-request-id | 18A18A1968690F77 |
| x-amz-copy-source-version-id | idrivee2test%2Ftest1%2F2mb5%20(2).pdf |
| x-amz-version-id | 7d470d7e-5755-4555-ba8a-7deb551872e1 |
| Cache-Control | public, max-age=31536000 |
| Content-Type | application/javascript |
| Content-Length | 232 |
| Date | Thu, 26 Mar 2026 11:33:41 GMT |
| Connection | Keep-Alive |
S3 Delete Object :
DELETE https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-object>
Removes an object from a bucket and IDrive® e2 Cloud Storage. The inclusion of a versionId in the request will determine the behavior of this operation:
- If a versionId is included in the request, an object will be permanently deleted from a bucket and IDrive® e2 Cloud Storage.
- If no versionId is included in the request, a delete marker will be inserted. This delete marker will become the current version of the object.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| versionId | Version ID used to reference a specific version of the object for deletion. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<region>.idrivee2.com/<bucket>/?delete=' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Object>
<Key>file.txt</Key>
</Object>
</Delete>'
Example Response
No response body
This request doesn't return any response body
Headers (8)
| x-amz-request-id | 18A19EDA30AF7A37 |
| x-amz-delete-marker | true |
| x-amz-version-id | ffe3616c-da96-431f-9cfd-f13a07c6c367 |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Mon, 30 Mar 2026 12:12:28 GMT |
| Connection | keep-alive |
S3 Delete Objects :
DELETE https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?delete
Deletes multiple objects from a bucket in a single request. In the XML body, provide the objects keys and, optionally, version IDs if you want to delete a specific object version.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| delete | Must be present to delete multiple objects. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
BODY (raw XML)
XML
<?xml version="1.0" encoding="UTF-8"?>
<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Object>
<Key>file-1.txt</Key>
</Object>
<Object>
<Key>file-2.jpg</Key>
</Object>
<Object>
<Key>reports/2026/summary.pdf</Key>
</Object>
</Delete>
Example Request
Shell
curl --location --request PUT 'https://s3.<region>.idrivee2.com/<bucket>/?delete=' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Object>
<Key>file-1.txt</Key>
</Object>
<Object>
<Key>file-2.jpg</Key>
</Object>
</Delete>'
Example Response
Headers
| Header | Value |
|---|---|
| Server | nginx |
| Date | Thu, 02 Apr 2026 10:30:07 GMT |
| Content-Type | application/xml |
| Content-Length | 212 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Request-Id | 18A28384667CB3EF |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
S3 Get Object :
GET https://s3.<your-region>.Idrivee2.com/<your-bucket-name>/<object-name>
This operation retrieves an object from IDrive® e2 Cloud Storage.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| partNumber | Part number to read, between 1 and 10,000. |
| versionId | VersionId to read. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| key | Required. Key of the object to be written. |
Example Request
Shell
curl --location --request GET 'https://s3.<your-region>.Idrivee2.com/<your-bucket-name>/<object-name>
Example Response
Headers
| Server | nginx |
| Date | Tue, 06 Apr 2026 06:28:50 GMT |
| Content-Type | application/pdf |
| Content-Length | 107058724 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| E2-Id | be6e3 |
| ETag | "a975e361dd4cb443e49e6f9f227af8a4-21" |
| Last-Modified | Tue, 07 Apr 2026 06:26:40 GMT |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Meta-E2csz | 107058724 |
| X-Amz-Meta-E2iid | be6e3 |
| X-Amz-Meta-Erid | [119 60 7 104 57 10 112 64 11 108 66 9 116 63 23] |
| X-Amz-Request-Id | 18A3FF407DA2026B |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
| x-amz-version-id | 8c66f6c8-bcdf-48b6-a066-b239b11b8b9d |
S3 Get Object Legal Hold :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-key>?legal-hold
Gets an object's current legal hold status. For more information, see Enable Object Lock with the S3-Compatible API.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| legal-hold | Must be present to retrieve object legal hold status. |
| versionId | Optional. Specifies a specific version of the object. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| Key | Required. Key of the object to be written. |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-1?legal-hold=null'
Example Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<LegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Status>ON</Status>
</LegalHold>
Headers (10)
| Cache-Control | |
| x-amz-request-id | 18A1DC484DF9E7CD |
| Content-Type | application/xml |
| Content-Length | 128 |
| Date | Tue, 31 Mar 2026 07:25:31 GMT |
S3 Get Object Retention :
GET https://s3.<region>.idrivee2.com/<bucket-name>/<object-key>?retention
Retrieves an object's retention settings. For more information, see Enable Object Lock with the S3-Compatible API.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| retention | Must be present to retrieve object retention settings. |
| versionId | Optional. Specifies a specific version of the object. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| Key | Required. Key of the object to be written. |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-1?retention=null' \
Example Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<ObjectLockEnabled>Enabled</ObjectLockEnabled>
<Rule>
<DefaultRetention>
<Mode>COMPLIANCE</Mode>
<Days>1</Days>
</DefaultRetention>
</Rule>
</ObjectLockConfiguration>
Headers (8)
| Cache-Control | |
| x-amz-request-id | 18A1E2517EE84D9A |
| x-amz-id-2 | |
| Content-Type | application/xml |
| Content-Length | 270 |
| Date | Tue, 31 Mar 2026 09:16:09 GMT |
| Keep-Alive | |
| Connection | keep-alive |
S3 Head Object :
HEAD https://s3.<your-region>.idriveee2.com/<your-bucket-name>/<your-key>
The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you are interested only in an object's metadata.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| partNumber | Part number to read, between 1 and 10,000. |
| versionId | Optional. Specifies a specific version of the object. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| key | Required. Key of the object to be written. |
Example Request
Shell
curl --location --head 'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-1
Example Response
No response body
This request doesn't return any response body
Headers
| Server | nginx |
| Date | Mon, 06 Apr 2026 07:00:18 GMT |
| Content-Type | application/pdf |
| Content-Length | 107058724 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| E2-Id | 53033 |
| ETag | "a975e361dd4cb443e49e6f9f227af8a4-21" |
| Last-Modified | Mon, 06 Apr 2026 06:59:30 GMT |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding, Origin |
| X-Amz-Meta-E2csz | 103711273 |
| X-Amz-Meta-E2iid | 53033 |
| X-Amz-Meta-Erid | [1153 1194 691 118 739 459 384 379 782 619 38 912 261 71 276] |
| X-Amz-Request-Id | 18A3B263883BF7FC |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
| x-amz-version-id | 83fc0def-5cb7-4fcb-8630-b5d0d2ce8e00 |
S3 Put Object :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-key>
Uploads an object to a bucket.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
HEADERS
| Cache-Control | Optional. Specifies Cache-Control header on retrieval. |
| Content-Disposition | Optional. Specifies Content-Disposition header on retrieval. |
| Content-Encoding | Optional. Specifies Content-Encoding header on retrieval. |
| Content-Language | Optional. Specifies the language the content is in. |
| Content-Length | Optional. Specifies Content-Length header on retrieval. |
| Content-Type | Optional. Specifies Content-Type header on retrieval. |
| Expires | Optional. Specifies Expires header on retrieval. |
| x-amz-acl | Optional. If supplied, must be the same as the bucket ACL. |
| x-amz-expected-bucket-owner | Optional. Account ID of the expected bucket owner. If the bucket is owned by a different owner, a 403 Access Denied error will be returned. |
| x-amz-object-lock-legal-hold | Optional. Specifies whether a legal hold will be applied. Allowed values are 'ON' or 'OFF'. |
| x-amz-object-lock-mode | Optional. The lock mode to apply. Allowed values are 'GOVERNANCE' or 'COMPLIANCE'. |
| x-amz-object-lock-retain-until-date | Optional. Timestamp for expiration of object lock. |
| x-amz-server-side-encryption-customer-algorithm | Optional. Encryption algorithm to be used for SSE-C. |
| x-amz-server-side-encryption-customer-key | Optional. Base64-encoded customer key for SSE-C. |
| x-amz-server-side-encryption | Optional. Set to AES256 to use SSE-B2. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| key | Required. Key of the object to be written. |
REQUEST BODY
The file to be uploaded is the message body. This request accepts binary data and is not encoded in any way.
Example Request
Shell
curl --location --request PUT 'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-1' \
--data 'object data'
Example Response
No response body
This request doesn't return any response body
Headers (9)
| Accept-Ranges | bytes |
| Last-Modified | Mar 31, 2026 |
| ETag | "e0f9a8882a39c00659db9b942cd23e91" |
| x-amz-request-id | 18A1E3C8E94159D3 |
| Content-Type | application/xml |
| Content-Length | 579 |
| Date | Tue, 31 Mar 2026 09:43:00 GMT |
| Connection | keep-alive |
S3 Put Object Legal Hold :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-key>?legal-hold
Applies a legal hold configuration to the specified object. For more information, see Enable Object Lock with the S3-Compatible API.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| legal-hold | |
| versionId | Optional. Specifies a particular version of the object. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| key | Required. Key of the object to be written. |
Body (raw XML)
XML
<?xml version="1.0" encoding="UTF-8"?>
<LegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Status>ON</Status>
</LegalHold>
Example Request
Shell
curl --location --request PUT 'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-1?legal-hold=null' \
--data '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Status>ON</Status>
</LegalHold>'
Example Response
No response body
This request doesn't return any response body
Headers (8)
| Cache-Control | |
| x-amz-request-id | 18A1E70FB340335A |
| Content-Type | |
| x-amz-id-2 | |
| Content-Length | 128 |
| Date | Tue, 31 Mar 2026 10:43:02 GMT |
| Keep-Alive | |
| Connection | keep-alive |
S3 Put Object Retention :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-key>?retention
Places an Object Retention configuration on an object. For more information, see Enable Object Lock with the S3-Compatible API.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| retention | |
| versionId | Optional. Specifies a particular version of the object. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| key | Required. Key of the object to be written. |
Body (raw XML)
XML
<?xml version="1.0" encoding="UTF-8"?>
<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<ObjectLockEnabled>Enabled</ObjectLockEnabled>
<Rule>
<DefaultRetention>
<Mode>COMPLIANCE</Mode>
<Days>1</Days>
</DefaultRetention>
</Rule>
</ObjectLockConfiguration>
Example Request
curl --location --request PUT 'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-1?retention=null' \
--data '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Retention xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Mode>COMPLIANCE</Mode>
<RetainUntilDate>2026-02-02T23:56:06.538Z</RetainUntilDate>
</Retention>'
Example Response
No response body
This request doesn't return any response body
Headers (8)
| Cache-Control | |
| x-amz-request-id | 18A1E80EA5027FEE |
| Content-Type | |
| x-amz-id-2 | |
| Content-Length | 270 |
| Date | Tue, 31 Mar 2026 11:01:18 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Put Bucket Logging :
PUT https://s3.us-or.idrivee2.com/<bucket-name>/?logging=
Returns the logging status of a bucket with Bucket Access Logs enabled and the permissions users have to view and modify that status.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
URI REQUEST PARAMETERS
| Bucket | Required. The bucket name for which to get the logging information. |
| x-amz-expected-bucket-owner | The account ID of the expected bucket owner. |
Example Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<LoggingEnabled>
<TargetBucket>idrive10</TargetBucket>
<TargetPrefix></TargetPrefix>
</LoggingEnabled>
</BucketLoggingStatus>
S3 Get Bucket Logging :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?logging
This operation retrieves an object from IDrive® e2 Cloud Storage.
AUTHORIZATION AWS Signature
Returns the logging status of a bucket with Bucket Access Logs enabled and the permissions users have to view and modify that status.
URI REQUEST PARAMETERS
| Bucket | Required. [The bucket name for which to get the logging information.] |
| x-amz-expected-bucket-owner | The account ID of the expected bucket owner. |
Example Response
XML
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>test3</TargetBucket>
<TargetGrants />
<TargetPrefix>logs/</TargetPrefix>
</LoggingEnabled>
</BucketLoggingStatus>
S3 Create Bucket :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>
Creates a new bucket.
The bucket name must be globally unique. For restrictions on bucket names such as minimum and maximum length, see Bucket Names.
You can optionally specify a canned ACL of private (the default) or public-read via the x-amz-acl header.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PATH VARIABLES
| bucket | Required. The name of the bucket to create. |
Body (raw XML)
XML
<?xml version="1.0" encoding="UTF-8"?>
<CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<LocationConstraint>us-west-1</LocationConstraint>
</CreateBucketConfiguration>
Example Request
Shell
curl --location --request PUT \
'https://s3.<your-region>.idrivee2.com/my-bucket-name' \
--header 'x-amz-acl: private' \
--header 'Authorization: AWS4-HMAC-SHA256 Credential=<your-access-key>/20260331/<your-region>/s3/aws4_request, SignedHeaders=host;x-amz-date, Signature=<signature>' \
--header 'x-amz-date: 20260331T133500Z' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<LocationConstraint><your-region></LocationConstraint>
</CreateBucketConfiguration>'
Example Response
No response body
This request doesn't return any response body
Headers (9)
| x-amz-request-id | 18A1ED7FE4CA509C |
| x-amz-id-2 | |
| Location | /newbucket |
| Cache-Control | |
| Content-Type | application/xml |
| Content-Length | 191 |
| Date | Tue, 31 Mar 2026 12:41:01 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Delete Bucket :
DELETE https://s3.<your-region>.idrivee2.com/<your-bucket-name>
Deletes the bucket specified. Only buckets that contain no versions of any files can be deleted.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PATH VARIABLES
| bucket | Required. Specifies the bucket to delete. |
Example Request
Shell
curl --location --request DELETE 'https://s3.<your-region>.idrivee2.com/my-bucket-name'
Example Response
No response body
This request doesn't return any response body
Headers (9)
| x-amz-request-id | 18A23004B2C7FC6B |
| Content-Type | |
| Date | Wed, 01 Apr 2026 09:00:00 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Delete Bucket CORS :
DELETE https://s3.<your-region>.IDrivee2.com/<your-bucket-name>/?cors
Deletes CORS configuration from the bucket.
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| cors | Must be present to delete bucket CORS configuration |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location --request DELETE 'https://s3.<your-region>.idrivee2.com/my-bucket-name/?cors=null'
Example Response
No response body
This request doesn't return any response body
Headers (9)
| x-amz-request-id | 18A230DC4A3A431F |
| Cache-Control | |
| Content-Type | |
| Date | Wed, 01 Apr 2026 09:15:25 GMT |
| Keep-Alive | |
| Connection | keep-alive |
S3 Delete Bucket Encryption :
DELETE https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?encryption
Deletes default encryption configuration from the bucket. For information about the default encryption feature see Default Bucket Encryption.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| encryption | Must be present to delete bucket encryption configuration |
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location --request DELETE
'https://s3.<your-region>.idrivee2.com/my-bucket-name/?encryption=null'
Example Response
No response body
This request doesn't return any response body
Headers (9)
| x-amz-request-id | 18A23171999690C2 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | nosniff |
| Date | Wed, 01 Apr 2026 09:26:07 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Get Bucket CORS :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?cors
Gets the bucket's CORS configuration.
AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| cors | Must be present to retrieve bucket CORS configuration |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrive e2.com/my-bucket-name/?cors=null'
Example Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>https://www.myapp.com</AllowedOrigin>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
<ExposeHeader>x-amz-server-side-encryption</ExposeHeader>
<MaxAgeSeconds>3600</MaxAgeSeconds>
</CORSRule>
</CORSConfiguration>
Headers (9)
| x-amz-request-id | 18A2371EA6281384 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 11:10:07 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Get Bucket Encryption :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?encryption
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| encryption | Must be present to retrieve bucket encryption configuration |
PATH VARIABLES :
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/?encryption=null'
Example Response
<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Rule>
<ApplyServerSideEncryptionByDefault>
<SSEAlgorithm>aws:kms</SSEAlgorithm>
<KMSMasterKeyID>s1n7_la1_idrivee2-94_com</KMSMasterKeyID>
</ApplyServerSideEncryptionByDefault>
</Rule>
</ServerSideEncryptionConfiguration>
Headers (9)
| x-amz-request-id | 18A23817A3EF3C59 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 11:27:57 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Get Bucket Location :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?location
Returns the bucket's region.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| location | Must be present to retrieve bucket location |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/?location=null'
Example Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<LocationConstraint
xmlns="http://s3.amazonaws.com/doc/2006-03-01/">us-west-2</LocationConstraint>
Headers (9)
| x-amz-request-id | 18A2388F5AE2AF84 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 11:36:31 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Get Bucket Versioning :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?versioning
Gets the versioning state of the bucket.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| versioning | Must be present to retrieve bucket versioning |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/?versioning=null'
Example Response
XML
<VersioningConfiguration
xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<MfaDelete>Disabled</MfaDelete>
<Status>Enabled</Status>
</VersioningConfiguration>
Headers (9)
| x-amz-request-id | 18A23911E732D412 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 11:45:52 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Get Object Lock Configuration :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?object-lock
Gets the Object Lock configuration for a bucket.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| versioning | Must be present to retrieve object lock configuration. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/?object-lock=null'
Example Response
XML
<ObjectLockConfiguration
xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<ObjectLockEnabled>Enabled</ObjectLockEnabled>
<Rule>
<DefaultRetention>…</DefaultRetention>
</Rule>
</ObjectLockConfiguration>
Headers (9)
| x-amz-request-id | 18A23ADDC323C3E7 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 12:18:47 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Head Bucket :
HEAD https://s3.<your-region>.idrivee2.com/<your-bucket-name>/
Determines whether the bucket exists in your idrive® e2 account, returning 200 OK if it does exist in your B2 account or 404 Not Found if it does not.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location --head 'https://s3.<your-region>.idrivee2.com/my-bucket-name/'
Example Response
No response body
This request doesn't return any response body
Headers (9)
| x-amz-request-id | 18A23BA7E113879C |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 12:33:15 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Delete Lifecycle Configuration :
DELETE https://s3.<your-region>.idrivee2.com/<your-bucket-name>?lifecycle
Deletes the lifecycle configuration from a bucket. After the lifecycle configuration is deleted, objects in the bucket no longer expire, and idrivee2 no longer automatically hides or deletes any objects on the basis of rules contained in the deleted lifecycle configuration.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
URI REQUEST PARAMETERS
| Bucket | Required / The bucket name of the lifecycle to delete. |
| x-amz-expected-bucket-owner | The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). |
Example Response
HTTP/1.1 204 No Content
x-amz-id-2: Uuag1LuByRx9e6j5OnimrE2SAMPLEtRPfTaOAa==
x-amz-request-id: 656c76696e672E2SAMPLE5657374
Date: Wed, 01 Apr 2026 12:41:00 GMT
Connection: keep-alive
Server: nginx
S3 Get Lifecycle Configuration :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>?lifecycle
Returns the lifecycle configuration information set on a bucket. For information about lifecycle configuration, see Lifecycle Rules.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
URI REQUEST PARAMETERS
| Bucket | Required. [The name of the bucket for which to get the lifecycle information. The bucket must have versioning enabled.] |
| x-amz-expected-bucket-owner | The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). |
Example Response
XML
<LifecycleConfiguration>
<Rule>
<ID>21595010</ID>
<Status>Enabled</Status>
<Filter />
<Expiration>
<ExpiredObjectDeleteMarker>true</ExpiredObjectDeleteMarker>
</Expiration>
<NoncurrentVersionExpiration>
<NoncurrentDays>2</NoncurrentDays>
</NoncurrentVersionExpiration>
</Rule>
<Rule>
<ID>11895980</ID>
<Status>Enabled</Status>
<Filter>
<Prefix />
</Filter>
<Expiration>
<Date>2026-04-04T00:00:00Z</Date>
</Expiration>
<NoncurrentVersionExpiration>
<NoncurrentDays>2</NoncurrentDays>
</NoncurrentVersionExpiration>
</Rule>
<Rule>
<ID>78931562</ID>
<Status>Enabled</Status>
<Filter>
<Prefix />
</Filter>
<Expiration>
<Days>2</Days>
</Expiration>
<NoncurrentVersionExpiration>
<NoncurrentDays>2</NoncurrentDays>
</NoncurrentVersionExpiration>
</Rule>
</LifecycleConfiguration>
XML
<Error>
<Code>ObjectLockConfigurationNotFoundError</Code>
<Message>Object Lock configuration does not exist for this bucket</Message>
<BucketName>test2</BucketName>
<Resource>/test2/</Resource>
<RequestId>18A248F4254899ED</RequestId>
<HostId>4be4e6e1-63b8-4a6a-89f7-23046b418552</HostId>
</Error>
S3 Put Lifecycle Configuration :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>?lifecycle
Creates a new lifecycle configuration for a bucket or replaces an existing lifecycle configuration. This operation will overwrite an existing lifecycle configuration, so if you want to retain any configuration details, they must be included in the new lifecycle configuration. For information about lifecycle configuration, see Lifecycle Rules.
Note : Modifying lifecycle rules through the web console or B2 Native API regenerates the rule IDs. If you track lifecycle rules by their ID values or need IDs to remain stable, use only this API to manage lifecycle rules.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
URI REQUEST PARAMETERS
| Bucket | Required [The name of the bucket for which to set the lifecycle configuration. The bucket must have versioning enabled.] |
| x-amz-expected-bucket-owner | The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). |
| x-amz-sdk-checksum-algorithm | Indicates the algorithm used to create the checksum for the request when you use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, the request fails with the HTTP status code 400 Bad Request. Valid Values: CRC32 | CRC32C | SHA1 | SHA256 | CRC64NVME |
REQUEST BODY
| LifecycleConfiguration | Required [Root level tag for the LifecycleConfiguration parameters.] |
| Rule | Required. A lifecycle rule for individual objects in the bucket. An S3 Lifecycle configuration can have up to 1,000 rules. |
E2 COMPATIBILITY NOTES
S3 lifecycle rules are mapped to IDrive® e2 lifecycle rules as follows:
S3 Lifecycle Action :
- Expiration
- NoncurrentVersionExpiration
Supported Features
- Expiration with Days - Hide the current version of objects after a specified number of days.
- Expiration with ExpiredObjectDeleteMarker set to true - Remove orphan delete markers.
- NoncurrentVersionExpiration with NoncurrentDays - Permanently delete noncurrent object versions after a specified number of days.
- Filter with Prefix - Apply rules to objects matching a key name prefix.
- Status set to Enabled - Rules must be enabled.
Example Request
XML
<?xml version="1.0" encoding="UTF-8"?>
<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Rule>
<Expiration>
<ExpiredObjectDeleteMarker>true</ExpiredObjectDeleteMarker>
</Expiration>
<ID>21595010</ID>
<Filter />
<Status>Enabled</Status>
<NoncurrentVersionExpiration>
<NoncurrentDays>2</NoncurrentDays>
</NoncurrentVersionExpiration>
</Rule>
<Rule>
<Expiration>
<Date>2026-04-04T00:00:00Z</Date>
</Expiration>
<ID>11895980</ID>
<Filter>
<Prefix></Prefix>
</Filter>
<Status>Enabled</Status>
<NoncurrentVersionExpiration>
<NoncurrentDays>2</NoncurrentDays>
</NoncurrentVersionExpiration>
</Rule>
<Rule>
<Expiration>
<Days>2</Days>
</Expiration>
<ID>78931562</ID>
<Filter>
<Prefix></Prefix>
</Filter>
<Status>Enabled</Status>
<NoncurrentVersionExpiration>
<NoncurrentDays>2</NoncurrentDays>
</NoncurrentVersionExpiration>
</Rule>
</LifecycleConfiguration>
Example Response
HTTP/1.1 200 OK x-amz-request-id: 18A248F6B99BBA89 Date: Wed, 01 Apr 2026 16:57:00 GMT Content-Length: 0 Server: ngnix
HTTP/1.1 400 Bad Request <?xml version="1.0" encoding="UTF-8"?> <Error> <Code>NotSupported</Code> <Message>The specified lifecycle configuration feature is not supported.</Message> </Error>
S3 List Buckets :
GET https://s3.<your-region>.idrivee2.com/
Lists buckets in your account in alphabetical order by bucket name.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/'
Example Response
XML
<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<Buckets>
<Bucket>
<Name>bucket-cors</Name>
<CreationDate>2026-04-01T09:06:52.133000+00:00</CreationDate>
</Bucket>
</Buckets>
</ListAllMyBucketsResult>
Headers (8)
| x-amz-request-id | 18A24AAC561556A9 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 17:08:27 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 List Object Versions :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?versions
Returns metadata of the versions of objects in the bucket. Use the query parameters to filter the search.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| versions | Must be present to retrieve object versions |
| prefix | Optional. Limit response to keys with this prefix. |
| version-id-marker | Optional. The object version id that you want to start listing from. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/?versions'
Example Response
XML
<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<MfaDelete>Disabled</MfaDelete>
<Status>Enabled</Status>
</VersioningConfiguration>
Headers (9)
| x-amz-request-id | 18A24C0A93739A7A |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 17:33:31 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 List Objects :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/
Returns a list of up to 1,000 objects in the bucket, sorted alphabetically by key. Use query parameters to filter the search.
Note: S3 List Objects V2 should be used in preference to this operation, since this API does not support pagination beyond 1,000 results.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| versions | Must be present to retrieve object versions |
| prefix | Optional. Limits response to keys with this prefix. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/'
Example Response
XML
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>test3</Name>
<Prefix />
<Marker />
<MaxKeys>100</MaxKeys>
<Delimiter>/</Delimiter>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>2mb2.pdf</Key>
<LastModified>2026-04-01T17:17:38.282Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>2mb3.pdf</Key>
<LastModified>2026-04-01T17:17:38.326Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>2mb4.pdf</Key>
<LastModified>2026-04-01T17:17:38.324Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>2mb5.pdf</Key>
<LastModified>2026-04-01T17:17:47.164Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>hometest1.pdf</Key>
<LastModified>2026-04-01T17:39:37.953Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
</ListBucketResult>
Headers (9)
| x-amz-request-id | 18A24C7BFC71C8D7 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 17:41:38 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 List Objects V2 :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?list-type=2
Use the query parameters to filter the search.
By default, sets of up to 1,000 results are returned. You can set the max-keys to set the maximum result set size to less than 1,000. If the search results in more than the maximum result set size, then the first set is returned in the initial response, the <IsTruncated> response element contains the value true and the <NextContinuationToken> element contains a token to retrieve the next set of results. Use this token as the continuation-token query parameter in another request to retrieve the next set of results.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| list-type | 2 |
| prefix | Optional. Limits response to keys with this prefix. |
| start-after | Optional. E2 will start listing after this key. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
curl --location 'https://s3.<your-region>.idrivee2.com/my-bucket-name/?list-type=2'
Example Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>test3</Name>
<Prefix></Prefix>
<Marker></Marker>
<MaxKeys>100</MaxKeys>
<Delimiter>/</Delimiter>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>2mb2.pdf</Key>
<LastModified>2026-04-01T17:17:38.282Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>2mb3.pdf</Key>
<LastModified>2026-04-01T17:17:38.326Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>2mb4.pdf</Key>
<LastModified>2026-04-01T17:17:38.324Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>2mb5.pdf</Key>
<LastModified>2026-04-01T17:17:47.164Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
<Contents>
<Key>hometest1.pdf</Key>
<LastModified>2026-04-01T17:39:37.953Z</LastModified>
<ETag>"d208e3403b7881a5a53930e448c5772f"</ETag>
<Size>2208728</Size>
<Owner>
<ID>d30270b82cfa11f191747cc255e513e2d30270b82cfa11f191747cc255e513e2</ID>
<DisplayName>s3user</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
</ListBucketResult>
Headers (9)
| x-amz-request-id | 18A24CFE0C92DDEB |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Fri, 28 Jan 2022 22:46:26 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Put Bucket CORS :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?cors
Sets the bucket's CORS configuration. If the configuration exists, it is replaced.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| cors | Must be present to put bucket CORS configuration. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedHeader>*</AllowedHeader>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedOrigin>myapp</AllowedOrigin>
<MaxAgeSeconds>3000</MaxAgeSeconds>
</CORSRule>
</CORSConfiguration>
Example Response
No response body
This request doesn't return any response body
Headers (9)
| x-amz-request-id | 18A24EBFD02A3640 |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 18:23:09 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Put Bucket Encryption :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?encryption
Sets the bucket's default encryption configuration. For more information on default encryption, see Default Bucket Encryption.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| encryption | Must be present to put bucket encryption configuration. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
<?xml version="1.0" encoding="UTF-8"?>
<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Rule>
<ApplyServerSideEncryptionByDefault>
<SSEAlgorithm>aws:kms</SSEAlgorithm>
<KMSMasterKeyID>p7n5_ch_idrivee2-48_com</KMSMasterKeyID>
</ApplyServerSideEncryptionByDefault>
<BucketKeyEnabled>true</BucketKeyEnabled>
</Rule>
</ServerSideEncryptionConfiguration>
Example Response
No response body
This request doesn't return any response body
Headers (9)
| x-amz-request-id | 18A24F232BB658EE |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 18:30:15 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Put Object Lock Configuration :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>?object-lock
Sets the Object Lock configuration for a bucket. The specified rule will apply by default to new objects created in the bucket.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| object-lock | Must be present to put object lock configuration. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
Shell
<?xml version="1.0" encoding="UTF-8"?>
<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<ObjectLockEnabled>Enabled</ObjectLockEnabled>
<Rule>
<DefaultRetention>
<Mode>COMPLIANCE</Mode>
<Days>1</Days>
</DefaultRetention>
</Rule>
</ObjectLockConfiguration>
Example Response
Headers (9)
| x-amz-request-id | 18A24F2318A9376E |
| x-amz-id-2 | |
| Cache-Control | |
| Content-Type | application/xml |
| Date | Wed, 01 Apr 2026 18:30:15 GMT |
| Keep-Alive | |
| Connection | Keep-Alive |
S3 Complete Multipart Upload :
POST https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-key>?uploadId=
Completes a multipart upload by assembling previously uploaded parts.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| uploadId | An Upload ID obtained from S3 Create Multipart Upload |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| key | Required. Key of the object to be written. |
Example Request
Shell
curl --location --request POST 'https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-key>?uploadId=' \
--header 'Content-Type: application/xml' \
--header 'X-Amz-Content-Sha256: <hash>' \
--header 'X-Amz-Date: <timestamp>' \
--header 'Authorization: <signature>' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Part>
<ETag>"580c34cd27234f14cdd934bb362dc8ca"</ETag>
<PartNumber>1</PartNumber>
</Part>
<Part>
<ETag>"a893aa55cfb8c9e2dacb85b86014b53a"</ETag>
<PartNumber>2</PartNumber>
</Part>
<Part>
<ETag>"0950cf1118338f610723d2228d73580c"</ETag>
<PartNumber>3</PartNumber>
</Part>
<Part>
<ETag>"9243931bef892405909958437e49cb8d"</ETag>
<PartNumber>4</PartNumber>
</Part>
</CompleteMultipartUpload>'
Example Response
Headers
| Server | nginx |
| Date | Thu, 02 Apr 2026 14:07:07 GMT |
| Content-Type | application/xml |
| Content-Length | 494 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Cache-Control | no-cache |
| Content-Security-Policy | block-all-mixed-content |
| ETag | "704dd5c7a02dc97b2fa9e7da6db38d7a-4" |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding, Origin |
| X-Amz-Request-Id | 18A28F5BC8D22DB7 |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
S3 Abort Multipart Upload :
DELETE https://s3.<your-region>.idrivee2.com/<your-bucket-name>/<your-key>?uploadId=
This operation aborts a multipart upload.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| uploadId | Required. The upload ID identifying the multipart upload to abort. |
PATH VARIABLES
| bucket | Required. The name of the bucket |
| key | Required. Key of the object to be written. |
Example Request
Shell
curl --location --request DELETE
'https://s3.<your-region>.idrivee2.com/my-bucket-name/object-1?uploadId=32767.14137a7f-c4af-4221-b59d-5b6d1a979fb4'
Example Response
Headers
| Server | nginx |
| Date | Thu, 02 Apr 2026 12:51:43 GMT |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding, Origin |
| X-Amz-Request-Id | 18A28B3E7F6E6979 |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
S3 Get Bucket Policy :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?policy
Retrieves the bucket policy from a bucket in IDrive® e2 S3-compatible object storage.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARAMS
| policy | Indicates retrieval of bucket policy (empty value) |
PATH VARIABLES
| bucket | Required. The name of the bucket |
Example Request
curl --location 'https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?policy='
Example Response
XML
{"ID":"E2ReadWrite","Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":["*"]},
"Action":["s3:GetBucketLocation","s3:ListBucket","s3:ListBucketMultipartUploads"],
"Resource":["arn:aws:s3:::testpolicy"]},{"Effect":"Allow","Principal":{"AWS":["*"]},
"Action":["s3:AbortMultipartUpload","s3:DeleteObject","s3:GetObject","s3:ListMultipartUploadParts","s3:PutObject"],
"Resource":["arn:aws:s3:::testpolicy/*"]}]}
Header
| Server | nginx |
| Date | Wed, 08 Apr 2026 07:40:04 GMT |
| Content-Type | application/json |
| Content-Length | 424 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Request-Id | 18A451B835945121 |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
S3 Get Bucket Tagging :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?tagging
Retrieves tags associated with a bucket
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARMS
| tagging | Indicates retrival of tagging(empty value) |
PATH VARIABLES
| Bucket | Bucket on which Tagging is already enabled |
CURL
curl --location --request GET 'https://s3.<your-region>.idrivee2.com/<your-bucket-name>?tagging
Example Response
XML
<Tagging>
<TagSet>
<Tag>
<Key>test2</Key>
<Value>test2</Value>
</Tag>
<Tag>
<Key>test1</Key>
<Value>test1</Value>
</Tag>
<Tag>
<Key>test5</Key>
<Value>test5</Value>
</Tag>
<Tag>
<Key>test4</Key>
<Value>test4</Value>
</Tag>
<Tag>
<Key>test3</Key>
<Value>test3</Value>
</Tag>
</TagSet>
</Tagging>
Response :Header :
| Server | nginx |
| Date | Tue, 07 Apr 2026 15:17:16 GMT |
| Content-Type | application/xml |
| Content-Length | 71 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Request-Id | 18A41C16880A8383 |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
S3 Put Bucket Tagging :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?tagging
Adds or updates tags on a bucket
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARMS
| tagging | Indicates setting of tags (empty value) |
PATH VARIABLES
| Bucket | Name of the bucket to which tags will be applied |
Example Response
Response Header :
| Server | nginx |
| Date | Tue, 07 Apr 2026 15:12:15 GMT |
| Content-Length | 0 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Request-Id | 18A41BD09C0DF38B |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
Example Request
CURL
curl --location --request PUT 'https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?tagging --data '
<?xml version="1.0" encoding="UTF-8"?>
<Tagging xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<TagSet>
<Tag>
<Key>test2</Key>
<Value>test2</Value>
</Tag>
<Tag>
<Key>test1</Key>
<Value>test1</Value>
</Tag>
</TagSet>
</Tagging>'
S3 Delete Bucket Tagging :
DELETE https://s3.<your-region>.idrivee2.com/<your-bucket-name>?tagging
The DeleteBucketTagging operation removes all tags associated with the specified bucket.Once deleted, the bucket will no longer have any tag metadata.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARMS
| tagging | Indicates deletion of tagging (empty value) |
PATH VARIABLES
| Bucket | Bucket on which tags needs to be removed |
Example Request
Shell
curl --location --request DELETE 'https://s3.<your-region>.idrivee2.com/<your-bucket-name>?tagging\
Example Response
Headers
| Server | nginx |
| Date | Tue, 07 Apr 2026 15:39:24 GMT |
| Content-Length | 0 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Request-Id | 18A41D4B951174BD |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
S3 Get Bucket Notification Configuration :
GET https://s3.<your-region>.idrivee2.com/<your-bucket-name>?notification
The GetBucketNotificationConfiguration operation retrieves the current event notification configuration for a specified bucket. This configuration defines how the bucket sends notifications (e.g., object creation or deletion events) to external services such as queues, topics, or webhooks.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARMS
| notification | indicates retrival of notification(empty value) |
PATH VARIABLES
| bucket | Bucket with Event notification enabled. |
Example Request
Shell
curl --location --request GET 'https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?notification=
Example Response
XML
<NotificationConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<TopicConfiguration>
<Id>test-notification</Id>
<Event>s3:ObjectCreated:*</Event>
<Event>s3:ObjectRemoved:*</Event>
<Event>s3:LifecycleExpiration:*</Event>
<Topic>arn:aws:sns:us-east-1:918213587287:asad-standard</Topic>
</TopicConfiguration>
<IsAWSConfig>false</IsAWSConfig>
</NotificationConfiguration>
Headers
| Server | nginx |
| Date | Wed, 08 Apr 2026 05:32:52 GMT |
| Content-Type | application/xml |
| Content-Length | 370 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Request-Id | 18A44AC728B8C0A6 |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |
S3 Put Bucket Notification Configuration :
PUT https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?notification=
PutBucketNotificationConfiguration is an S3 API operation that lets you configure event notifications for a bucket. It defines which events (like object creation or deletion) should trigger notifications and specifies the destination (such as an Amazon SNS topic, SQS queue) where those notifications are sent.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection IDrive® e2 Cloud Storage S3 Compatible API.
PARMS
| notification | Indicates setting a notification (empty value) |
PATH VARIABLES
| bucket | Bucket on which event notification needs to be enabled |
Example Request
Shell
curl --location --request PUT 'https://s3.<your-region>.idrivee2.com/<your-bucket-name>/?notification=
Example Response
Headers
| Server | nginx |
| Date | Wed, 08 Apr 2026 07:35:12 GMT |
| Content-Length | 0 |
| Connection | keep-alive |
| Accept-Ranges | bytes |
| Content-Security-Policy | block-all-mixed-content |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
| Vary | Accept-Encoding |
| Vary | Origin |
| X-Amz-Request-Id | 18A45173F1F8116F |
| X-Content-Type-Options | nosniff |
| X-Xss-Protection | 1; mode=block |