/prune
Prunes x amount of members from the provided guild
This endpoint requires a POST request!
Endpoint Headers:
bot-token - Token of the Bot [String] (Required)
guild-id - ID of the guild to be fetched [Snowflake] (Required)
apikey - Your Api Auth Key [String] (Required)
Endpoint Body Parameters:
days - number of days to prune (1-30) [Integer] (Optional)
count - whether
pruned
is returned, discouraged for large guilds [Boolean] (Optional)roles - role(s) to include [Array of Snowflakes] (Optional)
reason - reason for the prune [String] (Optional)
Examples:
Data API version required. Must replace <version>
with either release or beta.
Possible Responses (Codes)
Last updated