Access to Post Body Properties - Webflow API - Remove Collection Items in Bulk

Options
Leon Barth
Leon Barth Member

Hi there,

I was wondering if anyone else is having issues with the (Delete /) Remove Collection Items API endpoint of Webflow? ( https://developers.webflow.com/reference/remove-items )

It seems to me that Webflow just doesn't want to delete post data via a header, but specifically delete it via a body.

My only way out at the moment is to skip the bulk delete endpoint and loop through each item ID and call the Webflow Remove Collection Item API endpoint individually ( https://developers.webflow.com/reference/remove-item ).

However, this is rather inefficient and very painful for testing due to Webflow's API rate limits.

Thanks in advance <3

Tagged:

Comments

  • Pawel Magdanski
    Pawel Magdanski Member ✭✭✭
    Options

    As I can see you are using Xano Webflow connect. Have you tried using regular external API call? Just to see if it is producing the same results.

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options

    I don't think Xano likes to put body data in a DELETE. I'd recommend trying a small Xano lambda with a "fetch" call.

  • Leon Barth
    Leon Barth Member
    edited April 2023
    Options

    @PawelMagdanski.

    Yeah. I tried the same idea a couple of months back without webflow connect. Same result.

    @RayDeck.

    I like the idea. Definitely something that should make it work <3