Skip to main content
DELETE
/
v1
/
anecdotes
/
all
Delete all anecdotes for the current user
curl --request DELETE \
  --url https://api.yalg.ai/v1/anecdotes/all \
  --header 'x-api-key: <api-key>'
{
  "deleted": 15
}

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Response

All anecdotes deleted successfully