---
title: "update the current configuration"
method: PUT
path: "/mockserver/configuration"
tags: ["control"]
---

# update the current configuration

`PUT /mockserver/configuration`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/configuration`
- Auth: none declared

updates MockServer configuration properties at runtime, only non-null fields in the request body are applied

## Request body

- object: JSON object containing the configuration properties to update

## Response `200`

configuration updated successfully, returns the full updated configuration

- object: JSON object containing all configuration properties and their current values after the update

## Other responses

- `400`: incorrect request format

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
