---
title: "Updates the status of a preset. It can enable or disable it, so that it won't be listed by the list endpoints."
method: PUT
path: "/api/v2/presets/{preset_name}/status"
tags: ["preset"]
---

# Updates the status of a preset. It can enable or disable it, so that it won't be listed by the list endpoints.

`PUT /api/v2/presets/{preset_name}/status`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v2/presets/:preset_name/status/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `preset_name` string, required

## Query parameters

- `provider` string

## Request body

- object
  - `enabled` boolean

## Response `200`

EmptyResponse is a empty response

## Other responses

- `401`: EmptyResponse is a empty response
- `403`: EmptyResponse is a empty response
- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
