Cost Management (Admin)

Update Quota Override

plan × operation の月間 cap を DB override で上書き.

flow:

  1. validate (plan / operation / monthly_cap range / 巨大値 confirm)
  2. 旧値を取得 (audit log の old_cap 用)
  3. quota_overrides を UPSERT
  4. quota_override_log に audit 行を INSERT
  5. invalidate_cap_cache() で自 process の cache をパージ (他 instance は最大 60s 遅延で自然反映)
patch/api/messages/admin/cost-management/quota/{plan}/{operation}

Request

  • Base URL: https://api.soeru.biz (the document declares no server; this is the origin it was published from)
  • URL: https://api.soeru.biz/api/messages/admin/cost-management/quota/{plan}/{operation}
  • Auth: none declared. Required headers: authorization

Path parameters

planstring required
operationstring required

Headers

authorizationstring required

Bearer <token>

Request body

monthly_capinteger required
reasonstring nullable
confirm_large_valueboolean

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.