List
client.teams.ipFilters.list(stringteamID, RequestOptionsoptions?): IPFilterListResponse { filters }
GET/teams/{teamId}/ip-filters
List the built-in and custom IP-detection filters available to a team, with their enabled state
List
import Scenario from '@scenario-labs/sdk';
const client = new Scenario({
apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});
const ipFilters = await client.teams.ipFilters.list('teamId');
console.log(ipFilters.filters);{
"filters": [
{}
]
}Returns Examples
{
"filters": [
{}
]
}