The request succeeded and there is deliberately no body. Most commonly the answer to a successful DELETE.
Clients that call response.json() unconditionally throw here. Testing a 204 path is how you find out that your error handling has a hole in it.
22 endpoints in this playground answer with 204. Every one is free, needs no signup, and can be called from the browser or with curl.
DELETE https://funapi.dev/api/friends/v1/characters/{id} — Deleted, empty body (Friends API)DELETE https://funapi.dev/api/superheroes/v1/heroes/{id} — Retired (Superhero API)DELETE https://funapi.dev/api/pizza/v1/orders/{id} — Cancelled (Pizza Orders API)DELETE https://funapi.dev/api/football/v1/teams/{id} — Removed (Football API)DELETE https://funapi.dev/api/movies/v1/movies/{id} — Removed (Movies API)DELETE https://funapi.dev/api/wizarding/v1/students/{id} — Expelled (Harry Potter API)DELETE https://funapi.dev/api/galaxy/v1/characters/{id} — Removed (Star Wars API)DELETE https://funapi.dev/api/holmes/v1/suspects/{id} — Cleared (Sherlock Holmes API)DELETE https://funapi.dev/api/pokemon/v1/pokemon/{id} — Released (Pokémon API)DELETE https://funapi.dev/api/middleearth/v1/fellowship/{id} — Removed (Middle-earth API)DELETE https://funapi.dev/api/webhooks/v1/subscriptions/{id} — Unsubscribed (Webhooks API)DELETE https://funapi.dev/api/office/v1/employees/{id} — Fired (The Office API)DELETE https://funapi.dev/api/dinopark/v1/dinosaurs/{id} — Relocated (Dino Park API)DELETE https://funapi.dev/api/marvel/v1/heroes/{id} — Retired (Marvel API)DELETE https://funapi.dev/api/rickandmorty/v1/characters/{id} — Removed (Rick and Morty API)DELETE https://funapi.dev/api/airline/v1/bookings/{id} — Cancelled — subsequent GETs return 410 (Airline API)DELETE https://funapi.dev/api/protocol/v1/documents/{id} — Deleted — subsequent GETs return 410 (Protocol Lab API)DELETE https://funapi.dev/api/starfleet/v1/crew/{id} — Beamed home safely (Starfleet API)DELETE https://funapi.dev/api/worldcup/v1/tickets/{id} — Cancelled (World Cup 2026 API)DELETE https://funapi.dev/api/storage/v1/objects/{key} — Deleted (Object Storage API)POST https://funapi.dev/api/identity/v1/revoke — Revoked or already absent (Modern Identity API)DELETE https://funapi.dev/api/faults/v1/config — Reset (Fault Injection API)All HTTP status codes · All 37 mock REST APIs · Getting started guide