Path parameters

  • id integer Required

    The message id

application/json

Body

  • content string

    Message's content.

  • active boolean

    Message's active.

Responses

  • 200 application/json

    Return the updated message

  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found - The ambassador does not exist

PATCH /chat/messages/{id}
curl \
 --request PATCH 'https://domain.tld/api/v2/chat/messages/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"content":"string","active":true}'
Request examples
{
  "content": "string",
  "active": true
}