{
"desc": "Archives a private channel.",
"args": {
"channel": {
"type" : "group",
"required" : true,
"desc" : "Private channel to archive"
}
},
"errors": {
"channel_not_found" : "Value passed for `channel` was invalid.",
"already_archived" : "Group has already been archived.",
"group_contains_others" : "Restricted accounts cannot archive groups containing others.",
"last_ra_channel" : "You cannot archive the last channel for a restricted account.",
"restricted_action" : "A team preference prevents the authenticated user from archiving."
}
}