---
title: "Scale a service"
method: POST
path: "/projects/{name}/services/{service}/scale"
---

# Scale a service

`POST /projects/{name}/services/{service}/scale`

## Path parameters

- `name` string, required
- `service` string, required

## Request body

- object
  - `replicas` integer, required

## Response `200`

Service scaled

## Other responses

- `400` — Bad request
- `404` — Resource not found

---

[API](https://skmtc.net/full-chaos/apis/container-compose-api.md) · [All operations](https://skmtc.net/full-chaos/apis/container-compose-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/full-chaos/container-compose-api/versions/7bf76e7a9941/schema)
