Sample - Slack Web API
POST/admin.emoji.remove

Remove a custom emoji

Removes a custom emoji across an Enterprise Grid organization. Provide the emoji name together with an authentication token that has the required administrative scope.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 body fields

Form data identifying the custom emoji to remove. token and name are required.

tokenstringrequired
Authentication token. Requires scope: `admin.teams:write`
namestringrequired
The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included.

2 status codes
200Returns an object containing `ok: true` when the custom emoji is removed.
okbooleanrequired
Allowed:true
defaultReturns an object containing `ok: false` when the custom emoji cannot be removed.
okbooleanrequired
Allowed:false

Error handling

token and name are required. The name may include surrounding colons, and the token must have the admin.teams:write scope.