edit_service_account_api_key
A write tool on the Elevenlabs MCP server.
This record as markdown: /tools/aiwerk-mcp-server-elevenlabs/edit-service-account-api-key.md
What edit_service_account_api_key does on Elevenlabs
AI agents use edit_service_account_api_key to create or update resources in Elevenlabs, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Elevenlabs environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | null | — | |
api_key_id | string | Yes | |
is_enabled | object | — | Whether to enable or disable the API key. |
allowed_ips | object | — | 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 |
permissions | object | — | The permissions of the XI API. |
character_limit | object | — | 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 tha |
service_account_user_id | string | Yes | |
third_party_disable_allowed | object | — | 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-Enterp |
Parameters from the server's own tool schema.
Why edit_service_account_api_key is rated Medium
An AI agent can call edit_service_account_api_key faster than any human can review: one bad instruction and it creates or modifies resources in Elevenlabs by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs edit_service_account_api_key safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Elevenlabs, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For edit_service_account_api_key, this is the rule to start with:
edit_service_account_api_key stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Elevenlabs, apply this rule, and every edit_service_account_api_key call is checked against it from then on.
Questions about edit_service_account_api_key
edit_service_account_api_key is a write tool on the Elevenlabs MCP server. It is categorised as a Write tool in the Elevenlabs MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
edit_service_account_api_key accepts 8 parameters: name, api_key_id, is_enabled, allowed_ips, permissions, character_limit, service_account_user_id, third_party_disable_allowed. Required: api_key_id, service_account_user_id. The full parameter table on this page comes from the server's own tool schema.
Register the Elevenlabs MCP server in PolicyLayer and add a rule for edit_service_account_api_key: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Elevenlabs. Nothing to install.
edit_service_account_api_key is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the edit_service_account_api_key rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for edit_service_account_api_key. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
edit_service_account_api_key is provided by the Elevenlabs MCP server (@aiwerk/mcp-server-elevenlabs). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Elevenlabs, and thousands of servers like it.
This server
Across the catalogue