---
title: "update an existing TCP chaos profile (JSON Merge Patch)"
method: PATCH
path: "/mockserver/tcpChaos"
tags: ["chaos"]
---

# update an existing TCP chaos profile (JSON Merge Patch)

`PATCH /mockserver/tcpChaos`

## Request

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

Applies a JSON Merge Patch to an already-registered TCP chaos profile for a host, updating only the supplied fields and leaving the rest unchanged.

## Request body

- object: JSON Merge Patch with 'host' and the TCP chaos fields to update

## Response `200`

chaos profile patched

- object

## Other responses

- `400`: invalid request body, unknown host, or invalid chaos profile

---

[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)
