chaos

update an existing service-scoped HTTP chaos profile (JSON Merge Patch)

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

patch/mockserver/serviceChaos

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/serviceChaos
  • Auth: none declared

Request body

hoststring

downstream host the chaos profile applies to (mutually exclusive with clear)

chaosobject

HTTP chaos profile (fault types, probabilities, error status, etc.); omit (or set remove:true) to remove the host's profile

removeboolean

when true, removes the named host's chaos profile

clearboolean

when true, clears all service-scoped chaos (mutually exclusive with host)

ttlMillisinteger

optional time-to-live in milliseconds after which the registration auto-reverts

Response

chaos profile patched

object required

Changes

No recorded changes to this operation across all 1 revision of this API.