{
  "args": {
    "status": {
      "desc": "The status that should be set for the user. _Acceptable values:_ `connected` `disconnected`",
      "example": "connected",
      "required": true,
      "type": "string"
    },
    "user_id": {
      "desc": "The ID of the user for the status update.",
      "example": "U12345678",
      "required": true,
      "type": "string"
    }
  },
  "desc": "Updates the connection status between a user and an app.",
  "errors": {
    "app_not_found": "The app was not found.",
    "app_not_subscribed": "The app is not subscribed to the required events.",
    "user_not_found": "Value passed for `user_id` was invalid."
  },
  "rate_limit": {
    "label": "Tier 2: 20+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "user": [
      {
        "name": "users:write",
        "url": "https://docs.slack.dev/reference/scopes/users.write"
      }
    ]
  }
}

