API v9InterfacesRESTPostAPIGuildPruneJSONBodyVersion: 0.37.111On this pageRESTPostAPIGuildPruneJSONBody https://discord.com/developers/docs/resources/guild#begin-guild-pruneIndex Propertiescompute_prune_countdaysinclude_rolesProperties optionalcompute_prune_countcompute_prune_count?: booleanWhether `pruned is returned, discouraged for large guilds@defaulttrueoptionaldaysdays?: numberNumber of days to count prune for (1 or more)@default7optionalinclude_rolesinclude_roles?: string[]Role(s) to include
https://discord.com/developers/docs/resources/guild#begin-guild-prune