Hi there,
I would like to know if it is possible to delete an item from a nested object via API or graphQL. I have a collection type (restaurant) with a repeatable component inside called “franchise” (Florida and New York). I would like to delete just one of those (Florida for example). Is that possible?
Thank you
API GET
{
"data": [{
"id": 2,
"attributes": {
"name": "Italian Food",
"address": null,
"createdAt": "2023-09-16T19:13:50.831Z",
"updatedAt": "2023-09-16T19:13:51.632Z",
"publishedAt": "2023-09-16T19:13:51.629Z",
"franchise": [{
"id": 4,
"state": "Florida"
}, {
"id": 5,
"state": "New York"
}]
}
}],
"meta": {
"pagination": {
"page": 1,
"pageSize": 25,
"pageCount": 1,
"total": 1
}
}
}