---
title: "apply a saved chaos profile"
method: POST
path: "/mockserver/chaosExperiment/apply/{name}"
tags: ["chaos"]
---

# apply a saved chaos profile

`POST /mockserver/chaosExperiment/apply/{name}`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/chaosExperiment/apply/{name}`
- Auth: none declared

Starts the chaos experiment previously saved under the given name (as if its definition had been sent to PUT /mockserver/chaosExperiment). The request body is ignored.

## Path parameters

- `name` string, required

## Response `200`

saved profile applied (experiment started)

- object
  - `status` 'started'
  - `name` string
  - `stages` integer
  - `loop` boolean

## Other responses

- `400`: failed to apply the saved profile
- `404`: no chaos profile with the given name

---

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