zulip/templates/zerver/api/remove-emoji-reaction.md

34 lines
689 B
Markdown
Raw Normal View History

# Remove an emoji reaction
Remove an [emoji reaction](/help/emoji-reactions) from a message.
`DELETE {{ api_url }}/v1/messages/{message_id}/reactions`
## Usage examples
{start_tabs}
{tab|python}
{generate_code_example(python)|/messages/{message_id}/reactions:delete|example}
{tab|curl}
{generate_code_example(curl, exclude=["emoji_code", "reaction_type"])|/messages/{message_id}/reactions:delete|example}
{end_tabs}
## Arguments
{generate_api_arguments_table|zulip.yaml|/messages/{message_id}/reactions:delete}
## Response
#### Example response
A typical successful JSON response may look like:
{generate_code_example|/messages/{message_id}/reactions:delete|fixture(200)}