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

# Update Agency By Id

`PUT /api/v1/agency/{agency_id}`

Update agency. Owner or admin only.

## Path parameters

- `agency_id` string, uuid, required

## Request body

- IAgencyUpdate
  - `org_id` string, uuid, nullable
  - `branding` object, nullable
  - `domain` object, nullable
  - `billing_plan` object, nullable
  - `user_auth` object, nullable

## Response `200`

Successful Response

- IPutResponseBaseIAgencyUpdate
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` IAgencyUpdate
    - `org_id` string, uuid, nullable
    - `branding` object, nullable
    - `domain` object, nullable
    - `billing_plan` object, nullable
    - `user_auth` object, 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)
