---
title: "Enable/disable/drop an instance"
method: POST
path: "/instances/{instanceName}/state"
tags: ["Instance"]
deprecated: true
---

# Enable/disable/drop an instance

`POST /instances/{instanceName}/state`

> **Deprecated.**

Enable/disable/drop an instance

## Path parameters

- `instanceName` string, required

## Response `200`

Success

## Other responses

- `400` — Bad Request
- `404` — Instance not found
- `409` — Instance cannot be dropped
- `500` — Internal error

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/revisions/f1cc8a0ba2e0/schema)
