API v8 - DeprecatedInterfacesRESTPutAPIGuildBanJSONBodyVersion: 0.37.70On this pageRESTPutAPIGuildBanJSONBody https://discord.com/developers/docs/resources/guild#create-guild-ban@deprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10.Index Propertiesdelete_message_daysreasonProperties optionaldelete_message_daysdelete_message_days?: numberNumber of days to delete messages for (0-7)optionalreasonreason?: stringReason for the ban@deprecatedRemoved in API v10, use the X-Audit-Log-Reason header instead.
https://discord.com/developers/docs/resources/guild#create-guild-ban
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.