Update API key

Updates an API key's label, note, scopes, allowed IPs, or expiry. Only provided fields are changed.

Authentication

X-API-Keystring

Organization API key. Keys are prefixed with vk_live_ (production) or vk_sandbox_ (sandbox).

Path parameters

api_key_idstringRequired

Headers

Verifa-VersiondateOptional

API version date string (e.g. 2026-02-01). If omitted, the version pinned to your API key is used.

Request

This endpoint expects an object.
labelstring or nullOptional
notestring or nullOptional
scopeslist of strings or nullOptional
allowed_ipslist of strings or nullOptional
expires_atstring or nullOptional
ISO 8601 expiration timestamp. Set to null to remove expiry.

Response

Updated API key.
idstring
typeenum
environmentenum
key_prefixstring
First characters of the key for identification.
is_activeboolean
created_atdatetime
labelstring or nullOptional
notestring or nullOptional
scopeslist of strings or nullOptional
Permission scopes granted to this key.
api_versionstring or nullOptional
default_key_inflectionenumOptional
allowed_ipslist of strings or nullOptional
IP allowlist. Null means all IPs are allowed.
expires_atdatetime or nullOptional
last_used_atdatetime or nullOptional

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error