Proxy an ElevenLabs DELETE

View as Markdown

Forwards to https://api.elevenlabs.io/{path}, injecting the secret xi-api-key header.

Authentication

AuthorizationBearer

A per-client bearer token issued by the gateway operator. Send it as Authorization: Bearer <token>. The token is validated against a hashed allowlist in Cloudflare KV; a missing or unknown token returns 401. This token is stripped before the request is forwarded upstream, so it never leaves the gateway.

Path parameters

pathstringRequired

Response

The upstream’s response, passed through unchanged (status, headers, and body). Shown here as JSON; the exact shape is defined by the upstream provider.

Errors

404
Not Found Error