/chat.delete
POST
/chat.delete
chat
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://slack.com/api/chat.delete'
Response Response Example
200 - response
{
"channel": "C024BE91L",
"ok": true,
"ts": "1401383885.000061"
}
Request
Header Params
token
stringÂ
optional
chat:write
Body Params application/x-www-form-urlencoded
as_user
stringÂ
optional
chat:write:user
scope. Bot users in this context are considered authed users. If unused or false, the message will be deleted with chat:write:bot
scope.channel
stringÂ
optional
ts
numberÂ
optional
Responses
Modified at 2023-08-15 05:39:45