---
title: "Update Agency details"
method: PATCH
path: "/subaccounts/agency"
tags: ["subaccounts"]
---

# Update Agency details

`PATCH /subaccounts/agency`

Update Agency Details

## Request body

- BaseAgencySettings
  - `agency_name` string — Agency Name
  - `agency_website` string — Agency Website
  - `agency_footer` string — Footer to be used

## Response `200`

Sucess

Agency details updated sucessfully

- CommonSuccessResponseBody
  - `message` 'success'

## Other responses

- `400` — Bad Request ###### Produces: * agency_name_should_be_shorter_than_128_characters * agency_website_should_be_shorter_than_128_characters * agency_footer_should_be_shorter_than_2048_characters
- `401` — Unauthorized This API requires a valid API Key to be provided. (Use [/authentication/authorize](#/authentication/AuthenticationLogin) to obtain an API Key) Produces: * missing_authorization_key * invalid_authorization_key * account_is_inactive

---

[API](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis.md) · [All operations](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serversmtp/turbosmtp-public-apis/versions/8503e099b215/schema)
