---
title: "Set a temporary autoscaling override for a service instance"
method: POST
path: "/service_autoscaler/{service}/{instance}/autoscaling_override"
tags: ["autoscaler"]
---

# Set a temporary autoscaling override for a service instance

`POST /service_autoscaler/{service}/{instance}/autoscaling_override`

## Path parameters

- `service` string, required
- `instance` string, required

## Response `202`

Successfully set autoscaling override

- object
  - `service` string — Service name
  - `instance` string — Instance name
  - `min_instances` integer, nullable — Minimum number of instances to run
  - `max_instances` integer, nullable — Maximum number of instances to run
  - `expire_after` number, float — Unix timestamp after which the override is no longer valid
  - `status` string — Status of the operation

## Other responses

- `400` — Invalid request parameters
- `500` — Failed to set autoscaling override
- `501` — Autoscaling not supported for this instance type

## Changes

- **2025-05-28** `4a0463ac62fc` — 1 info
  - endpoint added
- **2020-10-19** `4e68a4d7f4e6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/yelp/apis/paasta-api/changes/service_autoscaler/:service/:instance/autoscaling_override/post.md)

---

[API](https://skmtc.dev/yelp/apis/paasta-api.md) · [All operations](https://skmtc.dev/yelp/apis/paasta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/yelp/apis/paasta-api/revisions/0f10edc28b60?raw)
