deleteCompareList mutation

The deleteCompareList mutation deletes the specified comparison list. Run this mutation in the following circumstances:

Syntax

mutation {
    deleteCompareList(
        uid: ID!
    ) {
        DeleteCompareListOutput
    }
}

Reference

The deleteCompareList reference provides detailed information about the types and fields defined in this mutation.

Example usage

The following example deletes the comparison list with a uid value of sssXyGZkTFksdPnxNoK1ut6OiV4bbchD.

Request:

mutation {
    deleteCompareList(
        uid: "sssXyGZkTFksdPnxNoK1ut6OiV4bbchD"
    ) {
        result
    }
}

Response:

{
  "data": {
    "deleteCompareList": {
      "result": true
    }
  }
}
data-slots=text
data-backgroundcolor=blue
Thanks to Atwix for contributing this topic!