Edit your own message
PATCH/api/chat/channels/{channelId}/messages/{messageId}
PATCH
/api/chat/channels/{channelId}/messages/{messageId}
Authors only — moderators delete, they never rewrite. Stamps editedAt, which readers see as “(edited)”.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”channelId
required
string format: uuid
messageId
required
string format: uuid
Request Body
Section titled “Request Body”New content
object
content
required
string
Responses
Section titled “Responses”Edited
object
ok
required
boolean
data
Invalid input
object
ok
required
boolean
error
required
string
code
string
Unauthenticated
object
ok
required
boolean
error
required
string
code
string
Forbidden
object
ok
required
boolean
error
required
string
code
string
Message not found
object
ok
required
boolean
error
required
string
code
string
Server error
object
ok
required
boolean
error
required
string
code
string
