apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id} — ElevenLabs API

ElevenLabs playground

Edit Service Account Api Key

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.elevenlabs.io; the proxy stores and logs nothing about them.

Path

Body application/json

9 body fields
  • is_enabled · optional · boolean — Whether to enable or disable the API key.
  • name · optional · string — The name of the XI API key to use (used for identification purposes only).
  • permissions · optional · string[] — The permissions of the XI API.
  • character_limit · optional · integer — The character limit of the XI API key. If provided this will limit the usage of this api key to n characters per month where n is the chosen value. Requests that incur charges will fail after reaching this monthly limit.
  • allowed_ips · optional · string[] — List of IP addresses or CIDR ranges allowed to use this API key. Each entry may be a CIDR range (e.g. '10.0.0.0/24') or a bare IP address (normalized to /32 or /128). On create, omit or pass null to allow all IPs. On update, omit to leave the allowlist unchanged, or pass "clear" to remove it.
  • third_party_disable_allowed · optional · boolean — Whether the holder of this key may disable it via the self-disable endpoint. On create, omit or pass null to use the workspace's default (enabled for non-Enterprise plans, disabled for Enterprise plans). On update, omit to leave it unchanged, or pass "clear" to reset it to the workspace default. Only honored for workspaces with self-disable access enabled.
  • tts_concurrency_limit · optional · integer — Maximum concurrent text-to-speech/speech-to-speech requests for this API key. Only available for enterprise customers.
  • dubbing_concurrency_limit · optional · integer — Maximum concurrent dubbing requests for this API key. Only available for enterprise customers.
  • music_concurrency_limit · optional · integer — Maximum concurrent music generation requests for this API key. Only available for enterprise customers.