Quota Basic Address

Update quota mode and amount

patch
Path parameters
addressstringRequired

Address

Query parameters
modestring · enumRequired

Mode, UNLIMITED|TRANSFER_QUOTA|ENERGY_QUOTA

Possible values:
reset_used_countbooleanRequired

Whether to reset used quota (when true, used_count is recalculated and quota_start_time is recorded)

countinteger · int32Optional

Quota amount (effective when mode=TRANSFER_QUOTA|ENERGY_QUOTA, cannot be less than used_count)

Default: 0
Header parameters
CF-ACCESS-KEYstringRequired

The API access key.

Example: your api key
CF-ACCESS-SIGNstringRequired

The Base64-encoded signature.

Example: signature
CF-ACCESS-TIMESTAMPstringRequired

The UTC request timestamp (e.g. 2008-08-08T08:08:08.888Z).

Responses
chevron-right
200

OK

application/json
codeinteger · int32Optional

Returns 0 on success; all other values indicate errors

msgstringOptional

Error message returned when an error occurs

sub_codestringOptional
sub_msgstringOptional
patch
/v1/mate/open/basic/{address}/quota
200

OK

Last updated