---
title: "Update Agency"
method: PATCH
path: "/v1/agency/{agency_id}/edit"
tags: ["agency"]
---

# Update Agency

`PATCH /v1/agency/{agency_id}/edit`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/agency/{agency_id}/edit`
- Auth: none declared

## Path parameters

- `agency_id` integer, required

## Headers

- `x-admin-api-key` string

## Request body

- AgencyPayload
  - `name` string, required
  - `email` string, required
  - `phone_number` string, nullable
  - `logo_url` string, nullable
  - `is_active` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
