API v9InterfacesRESTGetAPIGuildBansQueryVersion: 0.37.82On this pageRESTGetAPIGuildBansQuery https://discord.com/developers/docs/resources/guild#get-guild-bansIndex PropertiesafterbeforelimitProperties optionalafterafter?: stringConsider only users after given user idoptionalbeforebefore?: stringConsider only users before given user idoptionallimitlimit?: numberNumber of users to return (1-1000)@default1000
https://discord.com/developers/docs/resources/guild#get-guild-bans