🔗 Console REST APIUsage Management

Update usage settings

Updates usage management settings and limits

POST
/api/billing/update-usage

Authorization

headerAuthorization<token>

API key. Send it in the Authorization header. X-CoinAPI-Key, X-APIBricks-Key and X-APIKey are also accepted.

Request Body

  1. body
isSpendMgmtEnabled?boolean
dailySpendHardLimit?|
Formatdouble
dailySpendNotifyThreshold?|
Formatdouble
webhookUrl?string|null
creditUsageToday?number
Formatdouble
creditUsageYesterday?number
Formatdouble

Response Body

Successfully updated usage settings

curl -X POST 'https://api-console.apibricks.io/api/billing/update-usage' \  -H 'Content-Type: application/json' \  -d '{}'
Empty