# Need Guidance: Does Glide delete API let us delete multiple rows?

**URL:** <https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568>\
**Category:** Ask for Help\
**Created:** [December 13, 2024, 5:45am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568 "2024-12-13T05:45:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [December 13, 2024, 5:45am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/1 "2024-12-13T05:45:01Z")

</div>

Hi Guys,

I want to delete multiple rows using glide delete api. I have rows operated by " , "

I tried this in postman  
here is my curl

```auto
curl --location 'https://api.glideapp.io/api/function/mutateTables' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxx' \
--data '{
  "appID": "kqFz2swaPf8zZ04eJFd7",
  "mutations": [
    {
      "kind": "delete-row",
      "tableName": "native-table-2FySqZjVhh1WMC0qUt68",
      "rowID": "HG94rmyhQJ2vfWlIPP4EAw,nOAl5BL.QCad3j2qNcWCgQ"
    }
  ]
}'

```

Somehow when I put two row ids separated by coma it does not work. Is it not allowed by glide?

Thank you in advance for your help

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 13, 2024, 11:41am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/2 "2024-12-13T11:41:32Z")

</div>

No, that is not supported. Each delete-row must be a distinct mutation.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [December 13, 2024, 11:47am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/3 "2024-12-13T11:47:36Z")

</div>

Hi @Darren_Murphy ,

Thank you for confirming it. I tried that and even the Delete by mutation.

I realised that it burns 1 update for every deletion that happened even via Delete Api for mutation.

It will burn through all my updates in no time.

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![Hassan\_Nadeem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hassan_nadeem/32/72956_2.png) [@Hassan\_Nadeem](https://community.glideapps.com/u/Hassan_Nadeem)\
**Post date:** [December 13, 2024, 12:48pm UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/4 "2024-12-13T12:48:21Z")

</div>

Why do you want to use API to delete rows? You can delete multiple rows directly through a relation.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [December 13, 2024, 1:00pm UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/5 "2024-12-13T13:00:20Z")

</div>

Hi @Hassan_Nadeem ,

Thank you for your reply. Yeah relation method finding duplicate and deleting would need user to click on button

But the api approach can be triggered automatically right.

Wanted a approach which would be scheduled so was thinking of api approach

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![Javieri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/javieri/32/83005_2.png) [@Javieri](https://community.glideapps.com/u/Javieri)\
**Post date:** [December 14, 2024, 3:24am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/6 "2024-12-14T03:24:17Z")

</div>

Maybe you can use a code like this:

```auto
curl --location 'https://api.glideapp.io/api/function/mutateTables' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxx' \
--data '{
  "appID": "kqFz2swaPf8zZ04eJFd7",
  "mutations": [
    {
      "kind": "delete-row",
      "tableName": "native-table-2FySqZjVhh1WMC0qUt68",
      "rowID": "HG94rmyhQJ2vfWlIPP4EAw"
    }, {
      "kind": "delete-row",
      "tableName": "native-table-2FySqZjVhh1WMC0qUt68",
      "rowID": "nOAl5BL.QCad3j2qNcWCgQ"
    }
  ]
}'

```

---

<div class="post-metadata">

**Author:** ![plaiday](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/plaiday/32/83103_2.png) [@plaiday](https://community.glideapps.com/u/plaiday)\
**Post date:** [December 14, 2024, 7:10am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/7 "2024-12-14T07:10:25Z")

</div>

Reminder that you can no longer use Glide’s table API to make requests to a table within the same app. You can make requests like this to edit tables in \*other glide apps, or using a callback.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 14, 2024, 7:43am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/8 "2024-12-14T07:43:52Z")

</div>

> [@plaiday](#):
>
> Reminder that you can no longer use Glide’s table API to make requests to a table within the same app.

Yes you can. Where did you get that information from?

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [December 14, 2024, 8:59am UTC](https://community.glideapps.com/t/need-guidance-does-glide-delete-api-let-us-delete-multiple-rows/78568/9 "2024-12-14T08:59:31Z")

</div>

Hi @Javieri ,

Yeah tried this, The issue with this is delete mutations consider every delete as an update. If there are like 1000 rows then it just eats up your updates in like no time.

Regards,  
Dilip
