---
title: "Update a tenant"
method: PUT
path: "/tenants/update"
tags: ["Tenants"]
---

# Update a tenant

`PUT /tenants/update`

Use when changing tenant details (e.g. name or billing info). Request body contains the fields to update.

## Request body

- UpdateTenantRequest
  - `billing_details` TenantBillingDetails
    - `address` Address
      - `address_city` string
      - `address_country` string
      - `address_line1` string
      - `address_line2` string
      - `address_postal_code` string
      - `address_state` string
    - `email` string
    - `help_email` string
    - `phone` string
  - `metadata` TypesMetadata
  - `name` string

## Response `200`

Updated tenant

- TenantResponse
  - `billing_details` TenantBillingDetails
    - `address` Address
      - `address_city` string
      - `address_country` string
      - `address_line1` string
      - `address_line2` string
      - `address_postal_code` string
      - `address_state` string
    - `email` string
    - `help_email` string
    - `phone` string
  - `created_at` string, date-time
  - `id` string
  - `metadata` TypesMetadata
  - `name` string
  - `status` string
  - `updated_at` string, date-time

## Other responses

- `400` — Invalid request
- `404` — Tenant not found
- `500` — Server error

---

[API](https://skmtc.net/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.net/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/versions/f0601ed97bd3/schema)
