Skip to main content

teams file upload

Auto-generated reference

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

Upload a file to a channel

Synopsis​

teams file upload [OPTIONS] --team <TEAM> --channel <CHANNEL>

Options​

OptionValueRequiredEnvDefaultDescription
--teamTEAMyesTeam ID
--channelCHANNELyesChannel ID
--fileFILEnoLocal file path to upload
--stdinSTDINnofalseRead from stdin
--nameNAMEnoFilename (required with --stdin)

Examples​

No command-specific examples are published yet.

Exit Codes​

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

See Also​