---
title: "Update Tenant"
method: PUT
path: "/tenants/{tenant_id}"
tags: ["tenants"]
---

# Update Tenant

`PUT /tenants/{tenant_id}`

## Path parameters

- `tenant_id` string, uuid, required

## Request body

- TenantUpdatePublicAPI
  - `name` string, nullable
  - `icon_s3_key` string, nullable
  - `tcpa_bypass_until` string, date-time, nullable
  - `timezone` string, nullable
  - `business_hours_schedule` BusinessHoursSchedule
    - `weekdays` DayHours
      - `start` integer, required
      - `end` integer, required
    - `saturday` DayHours
      - `start` integer, required
      - `end` integer, required
    - `sunday` DayHours
      - `start` integer, required
      - `end` integer, required
  - `after_hours_action` AfterHoursAction — What the agent does when a gated destination is closed and no eligible transfer remains. Validation guarantees the type-specific field is present so the worker never hits an undefined terminal state.
    - `type` 'voicemail' | 'transfer' | 'end_call' | 'callback_request' | 'agent_message', required
    - `transfer_to` string, nullable
    - `fallback_numbers` string[]
    - `message` string, nullable
  - `outcome_taxonomy` OutcomeTaxonomyItem[], nullable
    - `value` string, required
    - `label` string, required
    - `description` string, nullable

## Response `200`

Successful Response

- TenantRead
  - `id` string, uuid, required
  - `name` string, required
  - `status` 'UNCLAIMED' | 'ACTIVE' | 'DELETED' — Enum for tenant status states
  - `icon_s3_key` string, nullable
  - `tcpa_bypass_until` string, date-time, nullable
  - `timezone` string
  - `business_hours_schedule` BusinessHoursSchedule
    - `weekdays` DayHours
      - `start` integer, required
      - `end` integer, required
    - `saturday` DayHours
      - `start` integer, required
      - `end` integer, required
    - `sunday` DayHours
      - `start` integer, required
      - `end` integer, required
  - `after_hours_action` object, nullable
  - `outcome_taxonomy` OutcomeTaxonomyItem[]
    - `value` string, required
    - `label` string, required
    - `description` string, nullable
  - `deleted_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/3ad158624c53/schema)
