API v9InterfacesRESTPostAPIGuildPruneJSONBodyVersion: 0.37.110On this pageRESTPostAPIGuildPruneJSONBody https://discord.com/developers/docs/resources/guild#begin-guild-pruneIndex Propertiescompute_prune_countdaysinclude_rolesProperties optionalcompute_prune_countcompute_prune_count?: boolean = ```ts true ```Whether `pruned is returned, discouraged for large guildsoptionaldaysdays?: number = ```ts 7 ```Number of days to count prune for (1 or more)optionalinclude_rolesinclude_roles?: string[]Role(s) to include
https://discord.com/developers/docs/resources/guild#begin-guild-prune