Slack.Web.Auth.revoke

You're seeing just the function revoke, go back to Slack.Web.Auth module for more information.
Link to this function

revoke(optional_params \\ %{})

View Source

Revokes a token.

Optional Params

  • test - Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked. ex: true

Errors the API can return:

  • invalid_auth - Some aspect of authentication cannot be validated. Either the provided token is invalid or the request originates from an IP address disallowed from making the request.
  • not_authed - No authentication token provided.
  • not_bearer_token - Incompatible token type provided