{
  "args": {
    "channel": {
      "desc": "ID of conversation to archive",
      "required": true
    }
  },
  "desc": "Archives a conversation.",
  "errors": {
    "already_archived": "Channel has already been archived.",
    "cant_archive_general": "You cannot archive the general channel",
    "cant_archive_required": "You cannot archive a required channel",
    "channel_not_found": "Value passed for `channel` was invalid.",
    "method_not_supported_for_channel_type": "This type of conversation cannot be used with this method.",
    "not_in_channel": "The token can not be found in channel.",
    "restricted_action": "A team preference prevents the authenticated user from archiving."
  },
  "rate_limit": {
    "label": "Tier 2: 20+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "bot": [
      {
        "name": "channels:manage",
        "url": "https://docs.slack.dev/reference/scopes/channels.manage"
      },
      {
        "name": "channels:write",
        "url": "https://docs.slack.dev/reference/scopes/channels.write"
      },
      {
        "name": "groups:write",
        "url": "https://docs.slack.dev/reference/scopes/groups.write"
      },
      {
        "name": "im:write",
        "url": "https://docs.slack.dev/reference/scopes/im.write"
      },
      {
        "name": "mpim:write",
        "url": "https://docs.slack.dev/reference/scopes/mpim.write"
      }
    ],
    "user": [
      {
        "name": "channels:write",
        "url": "https://docs.slack.dev/reference/scopes/channels.write"
      },
      {
        "name": "groups:write",
        "url": "https://docs.slack.dev/reference/scopes/groups.write"
      },
      {
        "name": "im:write",
        "url": "https://docs.slack.dev/reference/scopes/im.write"
      },
      {
        "name": "mpim:write",
        "url": "https://docs.slack.dev/reference/scopes/mpim.write"
      }
    ]
  }
}

