Update a Custom Emoji

Post
/api/v1/emoji-custom.update

Update a custom emoji. Permission required: manage-emoji

Changelog

Version Description
0.74.0 Added
Header parameters
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
Body parameters

If you are updating the image, provide the image file as form data.

object
emoji
string

The image file to use as custom emoji, as form data.

Example@my-custom-emoji.png
_id
string Required

The ID of the custom emoji.

ExampleAG7DSB2H32YHS
name
string Required

The name of the custom emoji.

Examplemy-custom-emoji
aliases
string

The alias of the custom emoji.

Exampleemoji-alias
Responses
200

OK

Success
{
  "success": true
}
object
success
boolean
401

Unauthorized

Authorization Error
{
  "status": "error",
  "message": "You must be logged in to do this."
}
object
status
string
message
string