Skip to main content

teams file share

Auto-generated reference

This page is generated from checked-in CLI metadata for release v0.3.0. Do not edit it by hand.

Create a sharing link for a file.

Synopsis

teams file share --team TEAM_ID --channel CHANNEL_ID --file-id FILE_ID [--link-type view|edit|embed] [--scope anonymous|organization]

Options

OptionValueRequiredEnvDefaultDescription
--teamTEAM_IDyesTeam ID
--channelCHANNEL_IDyesChannel ID
--file-idFILE_IDyesFile ID
--link-typeLINK_TYPEnoviewLink type (view, edit, or embed)
--scopeSCOPEnoorganizationLink scope (anonymous or organization)

Examples

No command-specific examples are published yet.

Exit Codes

CodeMeaning
0success
2invalid input
3authentication error
4permission denied
6rate limited

See Also