---
title: "UpdateEnvironmentClass"
method: POST
path: "/gitpod.v1.RunnerConfigurationService/UpdateEnvironmentClass"
tags: ["gitpod.v1.RunnerConfigurationService"]
---

# UpdateEnvironmentClass

`POST /gitpod.v1.RunnerConfigurationService/UpdateEnvironmentClass`

Updates an environment class.

 Use this method to:
 - Modify class settings
 - Update resource limits
 - Change availability

 ### Examples

 - Update class:

   Changes class configuration.

   ```yaml
   environmentClassId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   displayName: "Updated Large Instance"
   description: "16 CPU, 32GB RAM"
   enabled: true
   ```

## Request body

- GitpodV1UpdateEnvironmentClassRequest
  - `description` string, nullable
  - `displayName` string, nullable
  - `enabled` boolean, nullable
  - `environmentClassId` string, uuid

## Response `200`

Success

- GitpodV1UpdateEnvironmentClassResponse

## Other responses

- `default` — Error

## Changes

- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.RunnerConfigurationService/UpdateEnvironmentClass/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/b97dcde84128/schema)
