I am hoping someone can tell me how to update values using the GraphQL API to be “blank” or null. For example let’s consider the following mutation to update an extension wants to to remove the existing value for outboundCid.
mutation {
updateExtension(
input: {
extensionId: 101
name: "api test"
outboundCid: ""
vmEnable: true
umEnable: false
clientMutationId: "test1234"
}
) {
status
message
clientMutationId
}
}
The mutation doesn’t error but it doesn’t update the outboundCid field. I’ve also tried using the null
key work instead of an empty string which doesn’t seem to work either. Does anyone know how to remove/delete a value that is set?