v1

latestOpenAPI 3.0.12026-07-17310206.9 KB

Deletes a global slash command.

This function removes a previously registered global slash command from Discord. It takes the command ID as a parameter and returns a Promise that resolves when the deletion is complete. This allows for programmatic management of global slash commands in a Discord application.

post/deleteGlobalSlashCommand

Request body

Response

Command successfully deleted

successboolean

Indicates if the command was successfully deleted