Mutation
mutation SetSlackAutoJoinRules($input: SetSlackAutoJoinRulesInput!) {
setSlackAutoJoinRules(input: $input) {
rules {
id
integrationId
channelNamePrefix
channelNameSuffix
defaultChannelMode
defaultIngestionMode {
type
manual {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"integrationId": "id",
"rules": [
{
"channelNamePrefix": "string",
"channelNameSuffix": "string"
}
]
}
}Response
{
"data": {
"setSlackAutoJoinRules": {
"rules": [
{
"id": "id",
"integrationId": "id",
"channelNamePrefix": "string",
"channelNameSuffix": "string",
"defaultChannelMode": "CUSTOMER",
"defaultIngestionMode": {
"type": "TIME_BASED",
"manual": {
"__typename": "SlackAutoJoinRuleManualIngestion"
}
}
}
],
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
setSlackAutoJoinRules
Replaces all auto-join rules for a workspace slack channel integration. The provided rules become the complete set of rules for the integration.
MUTATION
setSlackAutoJoinRules(input: SetSlackAutoJoinRulesInput!): SetSlackAutoJoinRulesOutput!Arguments
input
required
Returns
rules
The saved rules. Empty when the mutation failed.
error
Mutation
mutation SetSlackAutoJoinRules($input: SetSlackAutoJoinRulesInput!) {
setSlackAutoJoinRules(input: $input) {
rules {
id
integrationId
channelNamePrefix
channelNameSuffix
defaultChannelMode
defaultIngestionMode {
type
manual {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"integrationId": "id",
"rules": [
{
"channelNamePrefix": "string",
"channelNameSuffix": "string"
}
]
}
}Response
{
"data": {
"setSlackAutoJoinRules": {
"rules": [
{
"id": "id",
"integrationId": "id",
"channelNamePrefix": "string",
"channelNameSuffix": "string",
"defaultChannelMode": "CUSTOMER",
"defaultIngestionMode": {
"type": "TIME_BASED",
"manual": {
"__typename": "SlackAutoJoinRuleManualIngestion"
}
}
}
],
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

