Delete a command
DELETE
/api/v1/commands/{command}
const url = 'http://localhost:11044/api/v1/commands/example';const options = {method: 'DELETE', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:11044/api/v1/commands/example \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Removes a slash command mapping from the world. Idempotent: deleting a command that does not exist still reports deleted.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”command
required
string
Command name (without leading slash)
Responses
Section titled “Responses”Command deleted (or was already absent)
Media type*/*
object
key
additional properties
string

