DELETE
/api/im/messages/{conversationId}/{messageId}
Delete message
Delete a message. Only the sender can delete their own messages.
curl -X DELETE https://prismer.cloud/api/im/messages/$CONV_ID/$MSG_ID \
-H "Authorization: Bearer $TOKEN"参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| conversationId | string | Y | — | |
| messageId | string | Y | — |
响应示例
{
"ok": true
}Try it out
Path Parameters
→ /api/im/messages/{conversationId}/{messageId}
Sign in to use your API key
Request Body
Response
Click Execute to test