Skip to main content
DELETE
/
applications
/
{application_id}
/
commands
/
{command_id}
cURL
curl --request DELETE \
  --url https://discord.com/api/v10/applications/{application_id}/commands/{command_id} \
  --header 'Authorization: <api-key>'
{
  "code": 123,
  "message": "<string>",
  "retry_after": 123,
  "global": true
}

Authorizations

Authorization
string
header
required

Discord bot token

Path Parameters

application_id
string<snowflake>
required
command_id
string<snowflake>
required

Response

204 response for delete_application_command