Update Channel Priorities of Team
PUT
/teams/{teamId}/channelspriorityRequest
Unique identifier for the channel
Type of the channel
ID of the team to which the channel belongs
Name of the channel
Description of the channel. Can be null
if no description is provided
ID of the user who created the channel
ID of the parent channel if it's a subchannel. Can be null
if not applicable
If the channel is a voice channel, it must return the participants of the voice channel
Priority of the channel, indicating its position or importance
Indicates whether the channel is NSFW (Not Safe For Work)
Region of voice channel
Timestamp of when the channel was created
Permissions for the channel, containing roles and their associated permissions
Additional data
{
"channels": [
{
"id": "string",
"type": "string",
"teamId": "string",
"name": "string",
"description": "string",
"createdBy": "string",
"parentId": "string",
"participants": [
"string"
],
"priority": 0,
"nsfw": true,
"region": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"permissions": {
"role": {
"roleId": "string",
"allow": 0,
"deny": 0
}
},
"additionalData": {
"streamChannel": "string",
"streamPlatform": "string"
}
}
]
}
Request samples
Responses
Unique identifier for the channel
Type of the channel
ID of the team to which the channel belongs
Name of the channel
Description of the channel. Can be null
if no description is provided
ID of the user who created the channel
ID of the parent channel if it's a subchannel. Can be null
if not applicable
If the channel is a voice channel, it must return the participants of the voice channel
Priority of the channel, indicating its position or importance
Indicates whether the channel is NSFW (Not Safe For Work)
Region of voice channel
Timestamp of when the channel was created
Permissions for the channel, containing roles and their associated permissions
Additional data