batchRemoveChannelRoleFromAccessors
inline suspend fun RepostspaceClient.batchRemoveChannelRoleFromAccessors(crossinline block: BatchRemoveChannelRoleFromAccessorsRequest.Builder.() -> Unit): BatchRemoveChannelRoleFromAccessorsResponse
Remove a role from multiple users or groups in a private re:Post channel.
Samples
import aws.sdk.kotlin.services.repostspace.model.ChannelRole
fun main() {
//sampleStart
// BatchRemoveChannelRoleFromAccessors
val resp = repostspaceClient.batchRemoveChannelRoleFromAccessors {
spaceId = "SP1234567890abcdefghijkl"
channelId = "WS1234567890abcdefghijkl"
accessorIds = listOf<String>(
"12345678-1234-1234-1234-1234567890ab"
)
channelRole = ChannelRole.fromValue("MODERATOR")
}
//sampleEnd
}