---
title: "SetSuspended"
method: POST
path: "/gitpod.v1.UserService/SetSuspended"
tags: ["gitpod.v1.UserService"]
---

# SetSuspended

`POST /gitpod.v1.UserService/SetSuspended`

SetSuspended sets the suspended state of the user.

## Request body

- GitpodV1SetSuspendedRequest
  - `suspended` boolean
  - `userId` string, uuid

## Response `200`

Success

- GitpodV1SetSuspendedResponse

## Other responses

- `default` — Error

---

[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/27f7bd641de1/schema)
