Create Channel Type

POST {{baseUrl}}/channel-types

Request Body

{"name"=>"new_type", "config"=>{"discoverable"=>false, "allow_join"=>true, "distinct"=>true, "default_membership_role"=>"participant", "role_overrides"=>{"owner"=>["-deleteAnyMessage"], "participant"=>["+sendAttachmentMessage", "+freezeChannel"]}}}

RESPONSES

status: OK

{"name":"new_type","config":{"discoverable":false,"allow_join":true,"distinct":true,"default_membership_role":"participant","role_overrides":{"owner":["-deleteAnyMessage"],"participant":["+sendAttachmentMessage","+freezeChannel"]}}}