---
title: "Update Agency Billing By Id"
method: PUT
path: "/api/v1/agency/billing/{billing_plan_id}"
tags: ["Agency Billing"]
---

# Update Agency Billing By Id

`PUT /api/v1/agency/billing/{billing_plan_id}`

## Path parameters

- `billing_plan_id` string, uuid, required

## Request body

- IBillingPlanUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `bots_count` integer, nullable
  - `queries_count` integer, nullable
  - `words_count` integer, nullable
  - `voice_seconds` integer, nullable
  - `premium_support` boolean, nullable
  - `default_plan` boolean, nullable
  - `remove_branding` boolean, nullable
  - `advanced_intents` boolean, nullable
  - `auto_intents` boolean, nullable
  - `billing_plan_group` string, nullable
  - `credits` object, nullable
  - `attributes` object, nullable
  - `agency_id` string, uuid, nullable

## Response `200`

Successful Response

- IPutResponseBaseIBillingPlanUpdate
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` IBillingPlanUpdate
    - `name` string, nullable
    - `description` string, nullable
    - `bots_count` integer, nullable
    - `queries_count` integer, nullable
    - `words_count` integer, nullable
    - `voice_seconds` integer, nullable
    - `premium_support` boolean, nullable
    - `default_plan` boolean, nullable
    - `remove_branding` boolean, nullable
    - `advanced_intents` boolean, nullable
    - `auto_intents` boolean, nullable
    - `billing_plan_group` string, nullable
    - `credits` object, nullable
    - `attributes` object, nullable
    - `agency_id` string, uuid, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/insighto/apis/ragify.md) · [All operations](https://skmtc.net/insighto/apis/ragify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insighto/ragify/revisions/cdca56191be9/schema)
