Mutation
mutation RemoveAccountFieldSchemaMapping($input: RemoveAccountFieldSchemaMappingInput!) {
removeAccountFieldSchemaMapping(input: $input) {
accountFieldSchema {
id
source
externalFieldId
label
type
options
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"accountFieldSchemaId": "id"
}
}Response
{
"data": {
"removeAccountFieldSchemaMapping": {
"accountFieldSchema": {
"id": "id",
"source": "string",
"externalFieldId": "id",
"label": "string",
"type": "STRING_TYPE",
"options": [
"string"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
removeAccountFieldSchemaMapping
Removes the mapping between an account field schema and a built-in Plain concept, disabling any automatic behaviour (such as tier assignment) driven by that field.
MUTATION
removeAccountFieldSchemaMapping(input: RemoveAccountFieldSchemaMappingInput!): RemoveAccountFieldSchemaMappingOutput!Arguments
input
required
accountFieldSchema
error
Mutation
mutation RemoveAccountFieldSchemaMapping($input: RemoveAccountFieldSchemaMappingInput!) {
removeAccountFieldSchemaMapping(input: $input) {
accountFieldSchema {
id
source
externalFieldId
label
type
options
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"accountFieldSchemaId": "id"
}
}Response
{
"data": {
"removeAccountFieldSchemaMapping": {
"accountFieldSchema": {
"id": "id",
"source": "string",
"externalFieldId": "id",
"label": "string",
"type": "STRING_TYPE",
"options": [
"string"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

