Ban users in channels with a custom channel type
POST {{baseUrl}}/v3/applications/settings_by_channel_custom_type/:custom_type/ban
Ban specified users in channels with a custom channel type at once.
Request Body
{"banned_list"=>[{"user_id"=>"<string>", "seconds"=>"<number>", "description"=>"<string>"}, {"user_id"=>"<string>", "seconds"=>"<number>", "description"=>"<string>"}], "on_demand_upsert"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
"\u003cobject\u003e"