admin_conversations_rename
POST
/admin.conversations.rename https://slack.com/api
Rename a public or private channel.
Parameters
header Header Parameters
| Name | Type |
|---|---|
token
required
Authentication token. Requires scope: | string |
Request Body
application/x-www-form-urlencoded
required
{ channel_id: string;name: string; }
Responses
200 application/json
Typical success response
{ ok: DefsOkTrue ; }
default application/json
Typical error response
{ error: "feature_not_enabled" | "channel_not_found" | "channel_type_not_supported" | "restricted_action" | "could_not_rename_channel" | "default_org_wide_channel" | "name_taken";ok: DefsOkFalse ; }