Mute a user in channels by custom channel types
Mutes a specific user in channels with particular custom channel types. If you want to mute multiple users in channels with the same custom channel type, see Mute users in channels by a custom channel type.
Note: To learn more about other available moderation tools, see Moderation Overview.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
| Parameter name | Type | Description | 
|---|---|---|
| user_id | string | Specifies the unique ID of a user. The specified user is muted for ten years, which can be considered permanent. | 
Request body
The following table lists the properties of an HTTP request that this action supports.
Properties
| Required | Type | Description | 
|---|---|---|
| channel_custom_types[] | array of strings | Specifies an array of one or more custom channel types. | 
Response
If successful, this action returns an empty response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.