Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Update Namespace Quota

PUT /object/namespaces/namespace/{namespace}/quota

Updates the namespace quota for a specified namespace.

namespaceNamespace identifier for which namespace quota details need to be updated.

Required Roles

  • SYSTEM_ADMIN


Prerequisites

The following conditions must be met in order to call this operation.

  • Namespace must exist


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
namespace_quota_details
blockSize Block size in GB. Long
notificationSize Notification size in GB. Long

Response Body

Response indicating Success or Failure to update namespace quota details


Examples

Request
PUT https://192.168.0.0:4443/object/namespaces/namespace/s3/quota

Content-Type: application/xml
X-SDS-AUTH-TOKEN=BAAcRGtUUmNOZHNpbitMaEVhZUhhdWtad1J3WDRRPQMAUAQADTEzNzk1NDIwMjQ4MzACAAEABQA5dXJuOnN0b3JhZ2VvczpUb2tlbjoxYmVhNGJiMy04M2MwLTRlOGItODc4Ni1iYWYxYmM4NTZkNTY6AgAC0A8=

<?xml version="1.0" encoding="UTF-8" ?>
<namespace_quota_details>
	<blockSize>2</blockSize>
	<notificationSize>2</notificationSize>
</namespace_quota_details>
Response
HTTP/1.1 200 OK
Content-Type: application/xml