provider workspaceapi-key DELETE
/v1/workspaces/api-keys/revoke @utdk/elevenlabs
/v1/workspaces/api-keys/revoke Revoke Api Key
Revoke the API key used to authenticate this request. Requires the query parameter `api_key_name=self` as an explicit confirmation.
- api_key_name query required
- Must be set to `self` to revoke the API key used to authenticate this request. Required as an explicit confirmation to avoid accidental revocation.
- string
- xi-api-key header
- Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.revoke()