---
title: "PUT /tenants/{tenantId}"
method: PUT
path: "/tenants/{tenantId}"
tags: ["Tenants"]
---

# PUT /tenants/{tenantId}

`PUT /tenants/{tenantId}`

update tenant by id.

NOTE: this does not overwrite the entire tenant record, only the properties that are passed in the body.
If you want to unset an non-required value, you can pass `null`.

## Path parameters

- `tenantId` string, required

## Headers

- `x-tenant-id` string

## Request body

- TenantsUpdateOptions
  - `config` object
    - `connectionImageUrl` string, nullable
    - `label` string

## Response `200`

Ok

- TenantRecord
  - `id` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time
  - `type` string, required
  - `storageVersion` string, required
  - `config` TenantApiConfig, required — From T, pick a set of properties whose keys are in the union K
    - `label` string, required
    - `connectionImageUrl` string

## Changes

- **2026-07-17** `33596742b733` — 2 info
  - the endpoint scheme security `tenants` was removed from the API
  - added the new optional `header` request parameter `x-tenant-id`
- **2024-03-30** `6256b3beb375` — 1 info
  - endpoint added
- **2024-03-27** `a7641432a6c1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openwallet-foundation/apis/credo-rest-api/changes/tenants/:tenantId/put.md)

---

[API](https://skmtc.dev/openwallet-foundation/apis/credo-rest-api.md) · [All operations](https://skmtc.dev/openwallet-foundation/apis/credo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openwallet-foundation/credo-rest-api/revisions/33596742b733/schema)
