---
title: "Update product-level cost-ceiling config"
method: PUT
path: "/api/v1/admin/cost_ceiling_config"
tags: ["CostCeilingConfig"]
---

# Update product-level cost-ceiling config

`PUT /api/v1/admin/cost_ceiling_config`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/admin/cost_ceiling_config`
- Auth: HTTP bearer

## Request body

- object
  - `caps` object[]
    - `operation` string, required
    - `scope` string, required
    - `cap` integer, nullable
    - `clear` boolean, nullable
  - `kill_switches` object, nullable

## Response `200`

Updated config

- object
  - `data` CostCeilingConfig, required
    - `operations` CostCeilingCapOperation[], required
      - `operation` string, required
      - `scopes` CostCeilingCapScope[], required
        - `scope` string, required
        - `overridden` boolean, required
        - `cap` integer, nullable, required
        - `default` integer, nullable, required
        - `effective` integer, nullable, required
        - `used` integer, nullable, required
        - `remaining` integer, nullable, required
    - `kill_switches` object, nullable

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
