{
  "args": {
    "external_id": {
      "desc": "Creator defined GUID for the file.",
      "example": "123456",
      "required": false,
      "type": "string"
    },
    "external_url": {
      "desc": "URL of the remote file.",
      "example": "http://example.com/my_cloud_service_file/abc123",
      "required": false,
      "type": "string"
    },
    "file": {
      "desc": "Specify a file by providing its ID.",
      "example": "F2147483862",
      "required": false,
      "type": "string"
    },
    "filetype": {
      "desc": "type of file",
      "example": "doc",
      "required": false,
      "type": "string"
    },
    "indexable_file_contents": {
      "desc": "File containing contents that can be used to improve searchability for the remote file.",
      "example": "...",
      "required": false
    },
    "preview_image": {
      "desc": "Preview of the document via `multipart/form-data`.",
      "example": "...",
      "required": false
    },
    "title": {
      "desc": "Title of the file being shared.",
      "example": "Danger, High Voltage!",
      "required": false,
      "type": "string"
    }
  },
  "desc": "Updates an existing remote file.",
  "errors": {
    "bad_image": "The uploaded image could not be processed - try passing a JPG or PNG",
    "bot_user_required": "bot user token is required",
    "failed_to_unshare": "The file was either not found or it has been unshared already.",
    "file_not_found": "Could not find the file to update.",
    "invalid_title": "invalid title provided",
    "invalid_type": "invalid type provided",
    "invalid_url": "invalid url provided",
    "too_large": "The uploaded image had excessive dimensions"
  },
  "rate_limit": {
    "label": "Tier 2: 20+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "bot": [
      {
        "name": "remote_files:write",
        "url": "https://docs.slack.dev/reference/scopes/remote_files.write"
      }
    ]
  }
}

