Mutation
mutation UpdateThreadChannelAssociationAccountMembershipPolicy($input: UpdateThreadChannelAssociationAccountMembershipPolicyInput!) {
updateThreadChannelAssociationAccountMembershipPolicy(input: $input) {
threadChannelAssociation {
id
companyId
accountId
accountMembershipPolicy
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadChannelAssociationId": "id",
"accountMembershipPolicy": "DO_NOT_ADD"
}
}Response
{
"data": {
"updateThreadChannelAssociationAccountMembershipPolicy": {
"threadChannelAssociation": {
"id": "id",
"companyId": "id",
"accountId": "id",
"accountMembershipPolicy": "DO_NOT_ADD",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateThreadChannelAssociationAccountMembershipPolicy
Changes how accounts are assigned for an existing thread channel association. Requires the threadChannelAssociation:edit permission.
MUTATION
updateThreadChannelAssociationAccountMembershipPolicy(input: UpdateThreadChannelAssociationAccountMembershipPolicyInput!): UpdateThreadChannelAssociationAccountMembershipPolicyOutput!Arguments
threadChannelAssociation
error
Mutation
mutation UpdateThreadChannelAssociationAccountMembershipPolicy($input: UpdateThreadChannelAssociationAccountMembershipPolicyInput!) {
updateThreadChannelAssociationAccountMembershipPolicy(input: $input) {
threadChannelAssociation {
id
companyId
accountId
accountMembershipPolicy
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadChannelAssociationId": "id",
"accountMembershipPolicy": "DO_NOT_ADD"
}
}Response
{
"data": {
"updateThreadChannelAssociationAccountMembershipPolicy": {
"threadChannelAssociation": {
"id": "id",
"companyId": "id",
"accountId": "id",
"accountMembershipPolicy": "DO_NOT_ADD",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

