Admin

Admin Emoji Rename

POST
/admin.emoji.rename

Rename an emoji.

Authorization

slackAuth admin.teams:write
AuthorizationBearer <token>

In: header

Scope: admin.teams:write

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

token*string

Authentication token. Requires scope: admin.teams:write

name*string

The name of the emoji to be renamed. Colons (:myemoji:) around the value are not required, although they may be included.

new_name*string

The new name of the emoji.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.emoji.rename" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'token=string&name=string&new_name=string'
{  "ok": "True"}