BACK TO THE WIRE
SW-000023CLOUDFLARE · CLOUDFLARE API · SERVICE KEY AUTHENTICATIONHIGHACTION REQUIRED

Cloudflare deprecates API Service Key auth, removal set for Sept 30 2026

Cloudflare is deprecating Service Key authentication for its API, effective March 19 2026, with full removal on September 30 2026. API Tokens are the designated replacement, offering the same functionality plus fine-grained scoping, expiration, and IP restrictions.

IDENTITY · SECURITY · DEPRECATION · RETIREMENT

PUBLISHED SEP 8, 2026 15:15 UTC

WHAT CHANGED

Authenticating API requests via the X-Auth-User-Service-Key header is deprecated, and the ability to generate new Service Keys through the dashboard or API will also be removed soon. After September 30 2026, Service Key authentication will no longer work at all. Cloudflare recommends creating API Tokens with appropriate permissions as the replacement. Users of cloudflared should run a version from November 2022 or later (which already uses API Tokens), and origin-ca-issuer users should update to a version supporting API Token authentication.

WHY IT MATTERS

Any integration, script, or tool still authenticating with Service Keys (via the X-Auth-User-Service-Key header) will lose API access entirely once the end-of-life date passes on September 30 2026. Administrators must inventory systems using Service Keys, migrate them to API Tokens, and verify dependent tools like cloudflared or origin-ca-issuer are on compatible versions to avoid service disruption.

WHO IS AFFECTED

ROLES
API administratorsDevelopers integrating with the Cloudflare API
PRODUCTS
Cloudflare APIcloudflaredorigin-ca-issuer
FEATURES
Service Key authenticationX-Auth-User-Service-Key headerService Key generation via Dashboard or API

WHAT TO DO

  1. 01
    HIGHAUTOMATABLE

    Create API Tokens with appropriate permission scopes to replace Service Key authentication for all API integrations.

  2. 02
    MEDIUM

    Update cloudflared to a version released November 2022 or later, which uses API Tokens instead of Service Keys.

  3. 03
    MEDIUM

    Update origin-ca-issuer to a version that supports API Token authentication.

  4. 04
    MEDIUM

    Stop generating new Service Keys via the Cloudflare dashboard or API, since this capability will be removed soon.

  5. 05
    HIGHAUTOMATABLE

    Replace any remaining use of the X-Auth-User-Service-Key header in API requests before September 30, 2026.

TIMELINE

ANNOUNCED
MAR 19, 2026
EFFECTIVE START
MAR 19, 2026
EFFECTIVE END
SEP 30, 2026
DEADLINE
SEP 30, 2026

SOURCES

  • PRIMARY SOURCECLOUDFLARE

    API deprecations

    PUBLISHED APR 20, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED SEP 8, 2026 15:15 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?