Conversations

Admin Conversations Archive

POST
/admin.conversations.archive

Archive a public or private channel.

Authorization

slackAuth admin.conversations:write
AuthorizationBearer <token>

In: header

Scope: admin.conversations:write

Header Parameters

token*string

Authentication token. Requires scope: admin.conversations:write

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

channel_id*string

The channel to archive.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.conversations.archive" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'channel_id=string'
{  "ok": "True"}