---
title: "Set tenant config"
method: PUT
path: "/tenant/{env_id}/{tenant}/config"
---

# Set tenant config

`PUT /tenant/{env_id}/{tenant}/config`

## Request

- Base URL: `https://api.hotglue.com`
- URL: `https://api.hotglue.com/tenant/{env_id}/{tenant}/config`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/hotglue/apis/hotglue-api/docs/tenant/:env_id/:tenant/config/put.ts> (a function with typed inputs; its response is checked against the schema)

Creates a `tenant-config.json` that you can use to store custom settings, credentials, and metadata

## Path parameters

- `env_id` string, required
- `tenant` string, required

## Request body

- object
  - `config` object: The tenant config to save in hotglue. Can be any JSON object

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/hotglue/apis/hotglue-api.md) - [All operations](https://skmtc.dev/hotglue/apis/hotglue-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hotglue/apis/hotglue-api/revisions/c1e39e569349?raw)
