HomeGuidesAPI Reference
ChangelogHelp CenterCommunityContact Us
API Reference

Update API Key

🚧

This endpoint is in beta and subject to change.

A beta revision header (2026-07-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our versioning and deprecation policy for more information.

Update the label or enable/disable the key.

Rate limits:
Burst: 1/s
Steady: 15/m

Scopes:
credentials:write

OpenAPI Spec

Path Params
string
required

Identifier for the key to update.

Query Params
additional-fields[api-key]
array of strings

Request additional fields not included by default in the response. Supported values: 'redacted_key'

additional-fields[api-key]
Allowed:
fields[api-key]
array of strings
fields[api-key]
Allowed:
Body Params

Body for PATCH /api/api-keys/{id}.

Use to update the label or enable/disable the key. Either field
may be omitted (omitted = preserve existing value), but neither
may be supplied as null — both attributes are required when
present.

data
object
required
Headers
string
required
Defaults to 2026-07-15.pre

API endpoint revision (format: YYYY-MM-DD[.suffix])

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/vnd.api+json