Edit Service Account Api Key
Update an existing API key for a service account
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Body
Whether to enable or disable the API key.
The name of the X API key to use (used for identification purposes only).
"Support Bot"
The permissions of the X API key.
Public API-key permission universe supported by Threetone.
models_read, voices_read, voices_write, workspace_read, workspace_write, convai_read, convai_write, create_user_api_key, workspace_analytics_full_read, webhooks_write, service_account_write, group_members_manage, workspace_members_read, workspace_members_invite, workspace_members_remove, terms_of_service_accept, audit_log_read, conversation_privacy_manage, copy_resources_cross_workspace The credit limit of the X API key. If provided, requests that incur charges will fail after reaching this limit in the current billing period. Pass "clear" to remove the limit.
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.
1 - 100 elementsWhether 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.
Response
Successful Response