Skip to content
Get started

List

teams.ip_filters.list(strteam_id) -> IPFilterListResponse
GET/teams/{teamId}/ip-filters

List the built-in and custom IP-detection filters available to a team, with their enabled state

ParametersExpand Collapse
team_id: str
ReturnsExpand Collapse
class IPFilterListResponse: …
filters: List[object]

Built-in and custom IP-detection filters for the team, each with its enabled state

List

import os
from scenario_sdk import Scenario

client = Scenario(
    api_key=os.environ.get("SCENARIO_SDK_API_KEY"),  # This is the default and can be omitted
    api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"),  # This is the default and can be omitted
)
ip_filters = client.teams.ip_filters.list(
    "teamId",
)
print(ip_filters.filters)
{
  "filters": [
    {}
  ]
}
Returns Examples
{
  "filters": [
    {}
  ]
}