POST /guilds/{guild_id}/prune

Changed on

Request

  • Base URL
    https://discord.com/api/v10
  • Auth
    API key in header Authorization

Request body

daysinteger nullable
compute_prune_countboolean nullable

Response

200 response for prune_guild

prunedinteger nullable required

Changes

    • info

      the response property became required for the status

    • breaking

      removed subschema #1 from the // request property oneOf list

    • breaking

      added the pattern ^(0|[1-9][0-9]*)$ to the request property //

    • breaking

      the // request property type changed from no type to string, and format from no format to snowflake