Mutation
mutation RemoveTenantFieldSchemaMapping($input: RemoveTenantFieldSchemaMappingInput!) {
removeTenantFieldSchemaMapping(input: $input) {
tenantFieldSchema {
id
source
externalFieldId
label
type
options
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"tenantFieldSchemaId": "id"
}
}Response
{
"data": {
"removeTenantFieldSchemaMapping": {
"tenantFieldSchema": {
"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
removeTenantFieldSchemaMapping
Removes the mapping between a tenant field schema and a built-in Plain concept, disabling any automatic behaviour (such as tier assignment) driven by that field.
MUTATION
removeTenantFieldSchemaMapping(input: RemoveTenantFieldSchemaMappingInput!): RemoveTenantFieldSchemaMappingOutput!Arguments
input
required
tenantFieldSchema
error
Mutation
mutation RemoveTenantFieldSchemaMapping($input: RemoveTenantFieldSchemaMappingInput!) {
removeTenantFieldSchemaMapping(input: $input) {
tenantFieldSchema {
id
source
externalFieldId
label
type
options
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"tenantFieldSchemaId": "id"
}
}Response
{
"data": {
"removeTenantFieldSchemaMapping": {
"tenantFieldSchema": {
"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?

