Update user quota override.

Privileges: STORAGE_MODIFY

Update user quota. To use this API, User quota settings should be enabled on the View and there should be a user quota override added for this user.

Path Params
int64
required

Specifies the View id.

string
required

Specifies the unixUid or sid or an user.

Body Params

Specifies the user quota policy of the user.

int64 | null

Specifies if an alert should be triggered when the usage of this resource exceeds this quota limit. This limit is optional and is specified in bytes. If no value is specified, there is no limit.

int64 | null

Supported only for user quota policy. Specifies when the usage goes above an alert threshold percentage which is: HardLimitBytes * AlertThresholdPercentage, eg: 80% of HardLimitBytes Can only be set if HardLimitBytes is set. Cannot be set if AlertLimitBytes is already set.

int64 | null

Specifies an optional quota limit on the usage allowed for this resource. This limit is specified in bytes. If no value is specified, there is no limit.

Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json