coder sharing add
Share a workspace with a user or group.
On this page
Share a workspace with a user or group.
Aliases:
- share
Usage
Usagecoder sharing add [flags] <workspace> --user <user>:<role> --group <group>:<role>Description
DescriptionThis 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
Options--user
--user| Property | Value |
|---|---|
| Type | string-array |
A comma separated list of users to share the workspace with.
--group
--group| Property | Value |
|---|---|
| Type | string-array |
A comma separated list of groups to share the workspace with.