Update an API key
Updates an API key identified by id. Only the provided fields are changed.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
The unique ID of the API key.
Body
Fields to update on an API key. All fields are optional; only the provided fields are changed.
Indicates whether the API key is active.
true
Indicates whether the API key is restricted to the listed permitted IPs.
true
Indicates whether per-resource scope permissions are enforced for the API key.
true
IP addresses allowed to use the API key when restriction is enabled.
["192.168.1.1", "10.0.0.1"]Human-readable label for the API key.
"Production API Key"
View, buy, release, and configure phone numbers, browse inventory, and manage the cart.
View, create, update, and delete SIP trunks and their settings.
Access call records and active calls, and control live call actions such as starting, answering, ending, audio playback, DTMF, streaming, and transcription requests.
Access message history and Sender IDs, send messages, manage opt-outs, and create or delete Sender IDs.
List, download, and delete call recordings.
View campaign analytics and Sender ID or Brand status, schedule bulk voice or SMS campaigns, register Brands, and create short links.
View 2FA service details and verification logs, trigger OTPs by voice or SMS, and validate verification codes.
View number validation results and trigger single or bulk validation or HLR lookup requests.
List, create, and delete webhooks.
Manage widget tokens, including listing, viewing, creating, updating, and deleting them.
Access statements, balance, payment methods, usage reports, and billing settings, including payment method updates.
View and update account profile information and timezone.
Manage subaccounts: list and view them, create, update, and suspend them.
Response
Returns the updated API key.
API key details including IP restrictions and scope permissions.
API key ID.
123
API key label.
"Production API Key"
API key value.
"abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
Indicates whether the API key is active.
true
Indicates whether IP restrictions are enabled. When enabled,
the API key works only from IP addresses in permitted_ips.
true
List of permitted IP addresses. If restricted is false,
an empty list means no IP restrictions. If restricted is true,
an empty list prevents all requests.
["192.168.1.1", "10.0.0.1"]When true, the key is restricted to the permissions defined in the
scope fields below. When false, the key has full access.
true
Timestamp of the most recent authenticated request made with this key.
"2026-04-20T15:42:11Z"
View, buy, release, and configure phone numbers, browse inventory, and manage the cart.
View, create, update, and delete SIP trunks and their settings.
Access call records and active calls, and control live call actions such as starting, answering, ending, audio playback, DTMF, streaming, and transcription requests.
Access message history and Sender IDs, send messages, manage opt-outs, and create or delete Sender IDs.
List, download, and delete call recordings.
View campaign analytics and Sender ID or Brand status, schedule bulk voice or SMS campaigns, register Brands, and create short links.
View 2FA service details and verification logs, trigger OTPs by voice or SMS, and validate verification codes.
View number validation results and trigger single or bulk validation or HLR lookup requests.
List, create, and delete webhooks.
Manage widget tokens, including listing, viewing, creating, updating, and deleting them.
Access statements, balance, payment methods, usage reports, and billing settings, including payment method updates.
View and update account profile information and timezone.
Manage subaccounts: list and view them, create, update, and suspend them.
Creation date and time in ISO 8601 format.
"2024-01-15T10:30:00Z"