---
title: "Adjust various settings"
method: POST
path: "/api/v1/catalog/settings/{key}"
tags: ["settings"]
---

# Adjust various settings

`POST /api/v1/catalog/settings/{key}`

Adjusts various settings on the catalog service.

Query Parameters:
- **key**: The the key to adjust.
    - "plan" - Enables the logging of the DB query plan for queries for
    **value** seconds.  It will be scheduled to turn off automatically after
    that.

## Path parameters

- `key` string, required

## Query parameters

- `value` string, required

## Response `200`

Successful.

- unknown

## Other responses

- `422` — Request validation error

## Changes

- **2024-09-12** `49bbb9914d80` — 1 info
  - endpoint added
- **2024-04-11** `7ba31661b446` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/flox/apis/floxhub-catalog-server/changes/api/v1/catalog/settings/:key/post.md)

---

[API](https://skmtc.dev/flox/apis/floxhub-catalog-server.md) · [All operations](https://skmtc.dev/flox/apis/floxhub-catalog-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flox/floxhub-catalog-server/revisions/8ec561551880/schema)
