admin_conversations_setConversationPrefs
POST
/admin.conversations.setConversationPrefs https://slack.com/api
Set the posting permissions for 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;prefs: string; }
Responses
200 application/json
Typical success response
{ ok: DefsOkTrue ; }
default application/json
Typical error response
{ error: "feature_not_enabled" | "not_an_admin" | "channel_not_found" | "channel_type_not_supported" | "restricted_action" | "missing_scope" | "could_not_set_channel_pref" | "default_org_wide_channel";ok: DefsOkFalse ; }