---
title: "Update Config"
method: PATCH
path: "/v1/admin/config"
tags: ["admin", "dashboard"]
---

# Update Config

`PATCH /v1/admin/config`

## Request body

- AdminConfigUpdateRequest — Validated, process-local settings accepted by the admin config endpoint.
  - `trial_enabled` boolean, nullable
  - `trial_duration_days` integer, nullable
  - `trial_total_credits` number, nullable
  - `require_email_verification` boolean, nullable
  - `debug` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/kodik/apis/kodik-api.md) · [All operations](https://skmtc.dev/kodik/apis/kodik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kodik/kodik-api/revisions/55c71b347360/schema)
