Body
Required
-
The name of the channel.
-
The description of the channel
-
The emoji of the channel
-
Whether the channel should be auto-joined by new members.
-
Whether the channel should show its members.
-
Whether the channel will be in read-only for non admin.
-
Privacy setting of the channel
Values are
Private
orPublic
.
PUT
/v1/channels/{channelId}
curl \
--request PUT 'https://openapi.meltingspot.io/v1/channels/{channelId}' \
--header "Content-Type: application/json" \
--data '{"name":"string","description":"string","emoji":"string","autoJoin":true,"showMembers":true,"readonly":true,"privacy":"Private"}'
Request examples
{
"name": "string",
"description": "string",
"emoji": "string",
"autoJoin": true,
"showMembers": true,
"readonly": true,
"privacy": "Private"
}
Response examples (200)
{
"id": "string",
"name": "string",
"emoji": "string",
"description": {},
"privacy": "Private",
"autoJoin": true,
"readonly": true,
"showMembers": true
}