---
title: "Modify the tenant"
method: PUT
path: "/api/v1/tenants/{id}"
tags: ["tenant"]
---

# Modify the tenant

`PUT /api/v1/tenants/{id}`

This can only be done by a logged in user who has the required privileges.

## Path parameters

- `id` string, required

## Request body

- TenantMutable
  - `name` string, required — name of tenant organization
  - `status` 'ACTIVE' | 'PENDING' | 'DISABLED'
  - `confirmed` boolean — true, if the confirmation link/email has been triggered

## Response `200`

Success

## Changes

- **2022-01-12** `f7e163033f9c` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2021-09-17** `1134b4a506a5` — 3 breaking, 3 info
  - removed the enum value `active` of the request property `status`
  - removed the enum value `disabled` of the request property `status`
  - removed the enum value `pending` of the request property `status`
  - added the new `ACTIVE` enum value to the request property `status`
  - …2 more
- **2019-08-15** `42619b8ccbbe` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrationhub/apis/iam-api-for-oih/changes/api/v1/tenants/:id/put.md)

---

[API](https://skmtc.dev/openintegrationhub/apis/iam-api-for-oih.md) · [All operations](https://skmtc.dev/openintegrationhub/apis/iam-api-for-oih/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintegrationhub/iam-api-for-oih/revisions/016871a170fd/schema)
