{
  "args": {
    "image_url": {
      "desc": "Image URL for the icon",
      "example": "http://mysite.com/icon.jpeg",
      "required": true,
      "type": "string"
    },
    "team_id": {
      "desc": "ID for the workspace to set the icon for.",
      "required": true
    }
  },
  "desc": "Sets the icon of a workspace.",
  "errors": {
    "failed_to_set_icon": "Setting the url in the database failed. This may be transient, please try again soon.",
    "feature_not_enabled": "The Admin APIs feature is not enabled for this team.",
    "invalid_url": "Invalid url.",
    "not_an_admin": "This method is only accessible by org owners and admins.",
    "team_not_found": "`team_id` was not found."
  },
  "rate_limit": {
    "label": "Tier 2: 20+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "user": [
      {
        "name": "admin.teams:write",
        "url": "https://docs.slack.dev/reference/scopes/admin.teams.write"
      }
    ]
  }
}

