Slack.Web.Admin.Audit.Anomaly.Allow (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

API to allow Enterprise org admins to read the allow list of IP blocks and ASNs from the enterprise configuration.

API to allow Enterprise org admins to write/overwrite the allow list of IP blocks and ASNs from the enterprise configuration.

Functions

get_item(optional_params \\ %{})

API to allow Enterprise org admins to read the allow list of IP blocks and ASNs from the enterprise configuration.

API reference

Rate limit: Tier 2: 20+ per minute
Scopes:

View on docs.slack.dev ↗

Errors the API can return:

  • endpoint_unavailable - The requested endpoint is currently unavailable.
  • not_an_enterprise - The user is not an enterprise admin.
  • unsupported_action_describe - The user specified action is unsupported
  • unsupported_action_put - The user specified action is unsupported

See the Common Errors guide for errors returned by every Web API method.

update_item(optional_params \\ %{})

API to allow Enterprise org admins to write/overwrite the allow list of IP blocks and ASNs from the enterprise configuration.

API reference

Rate limit: Tier 2: 20+ per minute
Scopes:

View on docs.slack.dev ↗

Optional Params

  • trusted_asns - allow list of Autonomous System Numbers (ASN) in the Enterprise organization configuration
  • trusted_cidr - allow list of IPv4 addresses using cidr notation in the Enterprise organization configuration

Errors the API can return:

  • endpoint_unavailable - The requested endpoint is currently unavailable.
  • invalid_field_or_data - user attempted to write and invalid field or data to the team config
  • unable_to_process_post_request - The user sent a malformed post request
  • unsupported_action_describe - The user specified describe action is unsupported
  • unsupported_action_put - The user specified put action is unsupported

See the Common Errors guide for errors returned by every Web API method.