Skip to navigation

Set user quota for a storage unit

Sets the user quota limit for the specified storage unit

Authentication

X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret

Path parameters

storageUnitIdstringRequired

Storage unit ID (UID)

Request

This endpoint expects an object.
maxSizeGbdoubleOptional
Maximum total size for the storage unit, in gigabytes.
removeLimitbooleanOptional
When true, removes any existing storage limit instead of setting a value.

Response

User quota set successfully
successboolean
Whether the operation succeeded.
messagestringOptional

Optional human-readable message about the result.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error