Files
coder/docs/reference/cli/users/suspend.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.1 KiB
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: "`coder users suspend`"
description: "Update a user's status to 'suspended'. A suspended user cannot log into the platform. Suspending a user stops their running workspaces; activating the user again does not restart them."
---
2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
Update a user's status to 'suspended'. A suspended user cannot log into the platform. Suspending a user stops their running workspaces; activating the user again does not restart them.
2023-03-23 17:42:20 -05:00
## Usage
```console
coder users suspend [flags] <username|user_id>
```
## Description
```console
coder users suspend example_user
2023-03-23 17:42:20 -05:00
```
## Options
### -y, --yes
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
Bypass confirmation prompts.
2023-03-23 17:42:20 -05:00
### -c, --column
| Property | Value |
|----------|----------------------------------------------------|
| Type | <code>[username\|email\|created at\|status]</code> |
| Default | <code>username,email,created at,status</code> |
2023-03-23 17:42:20 -05:00
Specify a column to filter in the table.