Class AppsUninstallRequest

java.lang.Object
com.slack.api.methods.request.apps.AppsUninstallRequest
All Implemented Interfaces:
SlackApiRequest

public class AppsUninstallRequest extends Object implements SlackApiRequest
This method uninstalls an app. Unlike auth.revoke, which revokes a single token, this method revokes all tokens associated with a single installation of an app.

https://docs.slack.dev/reference/methods/apps.uninstall

  • Method Details

    • builder

    • getToken

      public String getToken()
      Description copied from interface: SlackApiRequest
      Returns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getClientId

      public String getClientId()
      Issued when you created your application.
    • getClientSecret

      public String getClientSecret()
      Issued when you created your application.
    • setToken

      public void setToken(String token)
      Description copied from interface: SlackApiRequest
      Updates the token in this request object.

      The default implementation throws UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.

      Specified by:
      setToken in interface SlackApiRequest
    • setClientId

      public void setClientId(String clientId)
      Issued when you created your application.
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Issued when you created your application.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object