{
"desc": "Archives a channel.",
"args": {
"channel": {
"type" : "channel",
"required" : true,
"desc" : "Channel to archive"
}
},
"errors": {
"channel_not_found" : "Value passed for `channel` was invalid.",
"already_archived" : "Channel has already been archived.",
"cant_archive_general" : "You cannot archive the general channel",
"last_ra_channel" : "You cannot archive the last channel for a restricted account",
"restricted_action" : "A team preference prevents the authenticated user from archiving."
}
}