Unlink Existing Availability Rules
To remove availability already linked to an entry you can use the unlink
argument in an object’s availability input.
mutation updateEpisode {
updateEpisode(uid: "ee884e98-f3e5-4929-b7ad-75b8fca1e64e", episode: {availability: {unlink: ["d53332c0-6ed6-4c97-996f-b5bc4982ba98"]}}) {
uid
}
}
Response:
{
"data": {
"updateEpisode": {
"uid": "ee884e98-f3e5-4929-b7ad-75b8fca1e64e"
}
}
}
Updated 6 months ago