Files
coder/docs/reference/cli/sharing/remove.md
T
Nick Vigilante 2ee96f82f9 docs: give every table header cell text and fail lint on empty ones
Screen readers announce a table header cell with no text as an unnamed
column, and axe reports it as empty-table-header.

- clidocgen writes "Property | Value" over each option's metadata table
  instead of an empty header row; the CLI reference is regenerated.
- The port-forwarding CORS matrix labels its corner cells (From user,
  From workspace, To user, To workspace, To app).
- Four Markdown matrices get a corner label, byte-identical to #30873.
- docshtmlcheck (make lint/docs-html) now fails on empty header cells in
  Markdown pipe tables and raw HTML tables, naming the file, line, and
  the table's first header.

Assisted-by: AI
2026-10-15 16:48:16 -04:00

45 lines
1.0 KiB
Markdown
Generated

---
# Code generated by make gen. DO NOT EDIT.
title: "`coder sharing remove`"
description: Remove shared access for users or groups from a workspace.
---
<!-- DO NOT EDIT | GENERATED CONTENT -->
Remove shared access for users or groups from a workspace.
Aliases:
* unshare
* rm
## Usage
```console
coder sharing remove [flags] <workspace> --user <user> --group <group>
```
## Description
```console
This command fails if workspace sharing is disabled for the deployment, or if the organization's sharing policy doesn't allow sharing the workspace. See https://coder.com/docs/user-guides/shared-workspaces#policies for sharing policies.
```
## Options
### --user
| Property | Value |
|----------|---------------------------|
| Type | <code>string-array</code> |
A comma separated list of users to remove from the workspace.
### --group
| Property | Value |
|----------|---------------------------|
| Type | <code>string-array</code> |
A comma separated list of groups to remove from the workspace.