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"
}
}
}
}
Running the mutation
If you haven't used our API before, see Using the Connect API for instructions. It explains how to authenticate your calls and suggests some tools for testing.
Mutation structure
Arguments
Arguments required by the deleteReferenceSetAssociation
mutation
Argument | Values | Definition |
---|---|---|
to | ID | The ID of the target reference set to disconnect from the audience or from another reference set |
from | ID | The ID of the source data set. |
Fields
Fields returned by the deleteReferenceSetAssociation
mutation
Field | Nested field - level 1 | Definition |
---|---|---|
to | dataSetId | The ID of the target reference set |
name | The name of the target reference set | |
from | dataSetId | The ID of the source data set |
name | The name of the source data set |