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
Name | Type | Description | Required |
---|---|---|---|
groupId | UUID | The gating group id. | Yes |
ruleId | UUID | The gating rule id. | No |
listingId | UUID | The sale listing id. | Yes |
Fields
Name | Type | Description |
---|---|---|
true or false | Boolean | Successfully removed from listing returns true else throws the respective errors. |