Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Guild Template → Delete Guild Template

AI-generated

Summary

Delete a guild template using its template code and the guild ID. Optionally include a reason for Discord’s audit log; the request uses the selected bot token or OAuth2 user token authentication.

Inputs

  • Authentication — Choose Bot Token (default) or OAuth2 (User Token).
  • Guild (required) — Discord guild ID.
  • Template Code (required) — Template code from the Discord template URL.
  • Audit Log Reason — Optional reason recorded in the guild audit log; Discord limits it to 512 characters.
  • Request Options — Optional batching, SSL certificate validation, proxy, and timeout settings.

Output shape

a single response record

The supplied source pack shows no operation-specific response transformation, so the response shape is determined by Discord’s API.

Links

Discussion