Quotas

The administrative Operations API enables you to set quotas on users and on buckets owned by users. Quotas include the maximum number of objects in a bucket and the maximum storage size in megabytes.

To view quotas, the user must have a users=read capability. To set, modify or disable a quota, the user must have users=write capability.

Valid parameters for quotas include:

Bucket

The bucket option allows you to specify a quota for buckets owned by a user.

Maximum Objects

The max-objects setting allows you to specify the maximum number of objects. A negative value disables this setting.

Maximum Size

The max-size option allows you to specify a quota for the maximum number of bytes. A negative value disables this setting.

Quota Scope

The quota-scope option sets the scope for the quota. The options are bucket and user.