To disconnect a reference set from the audience, use the deleteReferenceSetAssociation object. You can use the same mutation to disconnect reference sets.

mutation {
  deleteReferenceSetAssociation(
      to: "ebe2fc9e-63cb-42e5-8efc-00000000000"
      from: "4fe4136f-b277-44a3-b38f-9999999999999"
  ) {
    to {
      dataSetId
      name
    }
    from {
      dataSetId 
      name 
    }
  }
}
{
  "data": {
    "deleteReferenceSetAssociation": {
      "to": {
        "dataSetId": "ebe2fc9e-63cb-42e5-8efc-00000000000",
        "name": "Focus group participants"
      },
      "from": {
        "dataSetId": "4fe4136f-b277-44a3-b38f-9999999999999",
        "name": "Green store"
      }
    }
  }
}

Arguments

Arguments required by the deleteReferenceSetAssociation mutation

ArgumentValuesDefinition
toIDThe ID of the target reference set to disconnect from the audience or from another reference set
fromIDThe ID of the source data set.

Fields

Fields returned by the deleteReferenceSetAssociation mutation

FieldNested field - level 1Definition
todataSetIdThe ID of the target reference set
nameThe name of the target reference set
fromdataSetIdThe ID of the source data set
nameThe name of the source data set