---
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

---

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