Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 828 Bytes

channels.delete.md

File metadata and controls

25 lines (21 loc) · 828 Bytes

channels.delete

This method deletes a public channel

Arguments

This method has the URL https://slack.com/api/channels.delete and follows the Slack Web API calling conventions.

Argument Example Required Description
token xxxx-xxxxxxxxx-xxxx Required Authentication token (Requires scope: 'client')
channel C1234567890 Required ID for channel to be deleted

Response

You will receive a standard Slack API response in JSON as described here. For example if successful you get:

{
   "ok": true
}

Errors & Warnings

Error Description
channel_not_found Provided channel ID does not match a real channel
missing_scope Using an access_token with insufficient permissions
tbd.