---
title: "Update catalog"
method: PUT
path: "/catalogs/{name}"
---

# Update catalog

`PUT /catalogs/{name}`

Update a new catalog object in the currently authenticated account.

## Path parameters

- `name` string, required — The name of the catalog to update.

## Request body

- UpdateCatalogParams
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `environment` string, required — The environment containing the catalog to update. Catalogs cannot be moved between environments.
  - `properties` EncryptedCatalogProperty[], required
    - `encrypted_value` string, required
    - `name` string, required
    - `preview` string, required

## Response `200`

OK

- UpdateCatalogResponse
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `catalog` Catalog, required
    - `CreatedAt` string, date-time, required
    - `environment` string, required — Environment containing the catalog definition.
    - `name` string, required
    - `properties` CatalogProperty[], required
      - `environment_variable` string — The environment variable name this property is injected as at runtime.
      - `name` string, required
      - `preview` string, required
    - `slug` string — This property is deprecated. Use name instead.
    - `type` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `default` — Error

---

[API](https://skmtc.net/tower/apis/tower-api.md) · [All operations](https://skmtc.net/tower/apis/tower-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tower/tower-api/revisions/0e42b0fb26d9/schema)
