Links
Comment on page

Update a custom emoji

Update an existent custom emoji.
URL
Requires Auth
HTTP Method
/api/v1/emoji-custom.update
yes
POST

Uploading a File

Arguments

Argument
Example
Required
Description
emoji
Any image file
Optional
The image file to use as custom emoji, as form data.
_id
AG7DSB2H32YHS
Required
The id of the custom emoji.
name
my-custom-emoji
Required
The name of the custom emoji.
aliases
emoji-alias
Optional
The alias of the custom emoji.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
-F "_id=AG7DSB2H32YHS" \
-F "name=my-custom-emoji" \
-F "aliases=emoji-alias" \
http://localhost:3000/api/v1/emoji-custom.update

Example Result

{
"success": true
}

Change Log

Version
Description
0.74.0
Added
Last modified 1yr ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.