removeTokenGatingFromListing

This mutation to remove the token gating from listing .

Sample mutation

mutation enableTokenGatingOnListings($groupId: UUID1!, $ruleId: UUID1, $listingId: UUID1!) {
  removeTokenGatingFromListing(
    groupId: $groupId
    ruleId: $ruleId
    listingId: $listingId
  )
}

Sample variable

{
  "groupId": "553e893f-66df-425e-8833-bb5c21c61b07",
  "ruleId": "98799280-7418-471b-a610-b6a2418c0954",
  "listingId": "0c2ae7b0-8c1d-4c1a-bc1c-1dd01664f67b"
}

Sample response

{
  "data": {
    "removeTokenGatingFromListing": true
  }
}

Arguments

NameTypeDescriptionRequired
groupIdUUIDThe gating group id.Yes
ruleIdUUIDThe gating rule id.No
listingIdUUIDThe sale listing id.Yes

Fields

NameTypeDescription
true or falseBooleanSuccessfully removed from listing returns true else throws the respective errors.