Skip to main content
Version: 0.37.53

RESTPutAPIGuildBanJSONBody

Index

Properties

optionaldelete_message_days

delete_message_days?: number

Number of days to delete messages for (0-7)

@deprecated

use delete_message_seconds instead

optionaldelete_message_seconds

delete_message_seconds?: number

Number of seconds to delete messages for, between 0 and 604800 (7 days)

optionalreason

reason?: string

Reason for the ban

@deprecated

Removed in API v10, use the X-Audit-Log-Reason header instead.