---
title: "POST /tenant-configs"
method: POST
path: "/tenant-configs"
tags: ["TenantMgmtConfigController"]
---

# POST /tenant-configs

`POST /tenant-configs`

| Permissions |
| ------- |
| 10220   |

## Request body

- NewTenantConfig — tenant_mgmt_configs to save any tenant specific data related to idP (tsType: Omit<TenantMgmtConfig, 'id'>, schemaOptions: { title: 'NewTenantConfig', exclude: [ 'id' ] })
  - `deleted` boolean
  - `deletedOn` string, date-time, nullable
  - `deletedBy` string, nullable
  - `createdOn` string, date-time
  - `modifiedOn` string, date-time
  - `createdBy` string
  - `modifiedBy` string
  - `configKey` string, required
  - `configValue` object, required
  - `tenantId` string, required — id of the tenant this invoice is generated for

## Response `200`

Tenant Config model instance

- TenantMgmtConfig — tenant_mgmt_configs to save any tenant specific data related to idP
  - `deleted` boolean
  - `deletedOn` string, date-time, nullable
  - `deletedBy` string, nullable
  - `createdOn` string, date-time
  - `modifiedOn` string, date-time
  - `createdBy` string
  - `modifiedBy` string
  - `id` string
  - `configKey` string, required
  - `configValue` object, required
  - `tenantId` string, required — id of the tenant this invoice is generated for

---

[API](https://skmtc.dev/sourcefuse/apis/tenant-management-service.md) · [All operations](https://skmtc.dev/sourcefuse/apis/tenant-management-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sourcefuse/tenant-management-service/revisions/0dce7cf133e9/schema)
