Apache CloudStack 4.23.0.0 Root Admin API Reference

quotaCredits

Add +-credits to an Account

Request parameters

Parameter NameDescriptionRequired
valueAmount of credits to be added (in case of a positive value) or subtracted (in case of a negative value).true
accountName of the Account for which Quota credits will be added. Deprecated, please use 'accountid' instead.false
accountidID of the Account for which Quota credits will be added. Cannot be specified with 'projectid'.false
domainidDomain of the Account specified by 'account' for which Quota credits will be added. Deprecated, please use 'accountid' instead.false
min_balanceAn email will be sent to the Account when the Quota credits get below this threshold.false
projectidID of the Project for which Quota credits will be added. Cannot be specified with 'accountid'.false
quota_enforceWhether to lock the Account when Quota credits are below zero.false

Response Tags

Response NameDescription
creditThe credit deposited.
creditedonWhen the credit was added.
creditoruseridID of the creditor user.
creditorusernameUsername of the creditor user.
currencyCredit's currency.