API deprecations·续3
Deprecated API:
GET /zones/:zone_identifier/settings/mobile_redirectPATCH /zones/:zone_identifier/settings/mobile_redirect
Replacement: Single Redirects
2024-06-14
Server-side Excludes
Deprecation date: June 14, 2024
The Server-side Excludes feature and its API endpoints are deprecated.
Deprecated APIs:
GET /zones/:zone_id/settings/server_side_excludePATCH /zones/:zone_id/settings/server_side_exclude
2024-05-31
Name-Related Data Fields on SRV (DNS) Records
Deprecation date: May 31, 2024
The name of an SRV record normally consists of three parts: the service (e.g., _xmpp), the protocol (e.g., _tcp), and the base name (example.com).
The complete name would then be, e.g., _xmpp._tcp.example.com.
When interacting with DNS records through the API, SRV records contain both a full name as well as a data map containing the individual components of the name:
{
"name": "_xmpp._tcp.example.com",
"data": {
"service": "_xmpp",
"proto": "_tcp",
"name": "example.com",
...
},
...
}
We are deprecating the service, proto and name fields within the data map in favor of the name field outside the data map, which is the same name field that's used by all other record types.
Before the end of life date, please ensure that:
- when reading SRV records, you use only the
nameoutside of the data map and ignoreservice,protoandnamewithin the data map if they exist; and - when writing SRV records, you set the
nameoutside of the data map and do not setservice,protoornamewithin the data map.
After the end of life date, the API will stop producing the service, proto and name data fields, and if any of them are received from a client, an error will be returned.
This deprecation does not affect other SRV data fields not mentioned above (priority, weight, port, target) or data fields for any other record type other than SRV.
Modified API:
GET /zones/:zone_id/dns_recordsPOST /zones/:zone_id/dns_recordsGET /zones/:zone_id/dns_records/:dns_record_idPATCH /zones/:zone_id/dns_records/:dns_record_idPUT /zones/:zone_id/dns_records/:dns_record_id
2024-03-31
Privacy Pass API Removal
Deprecation date: March 31, 2024
In 2017, Cloudflare announced support for Privacy Pass, a recent protocol to let users prove their identity across multiple sites anonymously without enabling tracking. The initial use case was to provide untraceable tokens to sites to vouch for users who might otherwise have been presented with a CAPTCHA challenge. In the time since this release, Privacy Pass has evolved both at the IETF and within Cloudflare. The version announced in 2017 is now considered legacy, and these legacy Privacy Pass tokens are no longer supported as an alternative to Cloudflare challenges. As has been discussed on our blog The end road for CAPTCHA, Cloudflare uses a variety of signals to infer if incoming traffic is likely automated. The (legacy) Privacy Pass zone setting is no longer meaningful to Cloudflare customers as Cloudflare now operates CAPTCHA free, and supports the latest Privacy Pass draft.
In September 2023, support for legacy Privacy Pass tokens as an alternative to Cloudflare Managed Challenge was removed. By the end of March 2024, the current public-facing API will be removed as well.
Deprecated API:
GET zones/:zone_identifier/settings/privacy_passPOST zones/:zone_identifier/settings/privacy_pass
2024-02-04
Argo Tunnel
Deprecation date: February 4, 2024
This endpoint and its related APIs are deprecated in favor of the Cloudflare Tunnels equivalent APIs.
Deprecated API:
GET accounts/:account_identifier/tunnelsPOST accounts/:account_identifier/tunnelsGET accounts/:account_identifier/tunnels/:tunnel_idDELETE accounts/:account_identifier/tunnels/:tunnel_id
Replacement: Cloudflare Tunnel API
2023-07-01
ChaCha20 TLS Cipher Removal
Deprecation date: July 1, 2023
Back in 2016, Cloudflare introduced support for ChaCha20-Poly1305 cipher suites for TLS 1.2. At the time, we introduced two variants of these new suites, the "standard" suites as defined by the IETF RFC 7905, and "draft" suites that followed an earlier draft of said specification. The draft suites were added for compatibility with some older Android devices that at the time did not yet support the proper ChaCha20-Poly1305 standard versions. This was in 2016, and in the meantime the standard ChaCha20-Poly1305 cipher suites have gained much wider adoption, to the point were traffic using the old suites has dropped significantly. Due to the current low usage and the non-standard nature of these cipher suites, we are now deprecating their support on the Cloudflare network.
This should not affect customer zones in any way, as clients that might currently use these cipher suites will be able to fallback to different ones. In addition, unlike the standard variants, these legacy cipher suites are not exposed directly through our API (e.g. through the TLS cipher suites preferences endpoint), and their deprecation will not affect customer configurations in any way.
As of July 1st, 2023, the ChaCha20-Poly1305 ciphers have been deprecated and are deemed End of Life by Cloudflare. If you have clients that currently rely on these ciphers, it is strongly recommended to upgrade them to newer, more secure ciphers. Be aware that these deprecated ciphers will be completely removed in the first quarter of 2024, and requests using them will start to fail. Take proactive measures to ensure a smooth transition and maintain the security of your systems.
2023-07-01
Transfer-Encoding and Content-Length headers
Deprecation date: July 1, 2023
Previously, RFC 2616 allowed the use of Transfer-Encoding and Content-Length HTTP headers in the same request. RFC 7230 supersedes RFC 2616 and prohibits the use of Transfer-Encoding and Content-Length headers in the same request because they can cause HTTP request smuggling vulnerabilities.
Starting on July 1st, 2023, Cloudflare will decline requests with both Transfer-Encoding and Content-Length HTTP headers.
2023-06-06
Account Billing Profile, User Billing Profile, and User Billing History
Deprecation date: June 6, 2023
There is no API replacement for these endpoints. As an alternative, please log in to your Cloudflare account to view your:
Deprecated API:
GET accounts/{account_identifier}/billing/profileGET user/billing/profileGET user/billing/history
2023-04-03
Load Balancing - notification_email
Deprecation date: April 3, 2023
This field is deprecated and has been moved to Cloudflare centralized notification service.
notification_email is the email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.
2023-03-19
Access Bookmark applications
Deprecation date: March 19, 2023
This endpoint is deprecated in favor of using a specialized Access Application App Type API.
Deprecated API:
GET accounts/:identifier/access/bookmarksGET accounts/:identifier/access/bookmarks/:uuidPOST accounts/:identifier/access/bookmarks/:uuidPUT accounts/:identifier/access/bookmarks/:uuidDELETE accounts/:identifier/access/bookmarks/:uuid
Replacement: Access applications app type API
2022-10-11
Page Shield
Deprecation date: October 11, 2022
Replace script_monitor in Page Shield API routes with page_shield.
2022-07-01
Cloudflare Images - Create authenticated direct upload URL v1
Deprecation date: July 1, 2022
This endpoint is deprecated in favor of using v2, which allows you to control metadata, define an access policy, and get the image ID.
Deprecated API: POST accounts/:account_identifier/images/v1/direct_upload
Replacement: POST accounts/:account_identifier/images/v2/direct_upload
2021-03-01
Zone Analytics API
Deprecation date: March 1, 2021
This API is deprecated in favor of the GraphQL Analytics API, which provides equivalent data and more features, including the ability to select only the metrics that you need. For more information, refer to the Zone analytics to GraphQL analytics migration guide.
Deprecated API:
GET zones/:zone_identifier/analytics/dashboardGET zones/:zone_identifier/analytics/colos
Replacement: GraphQL Analytics API
2020-04-02
Organizations
Deprecation date: April 2, 2020
This endpoint and its related APIs are deprecated in favor of the /accounts equivalent API, which has a broader range of features and is backwards compatible with the /organizations API.
Deprecated API:
GET organizations/:identifierPATCH organizations/:identifierGET organizations/:organization_identifier/invitesPOST organizations/:organization_identifier/invitesGET organizations/:organization_identifier/invites/:identifierPATCH organizations/:organization_identifier/invites/:identifierDELETE organizations/:organization_identifier/invites/:identifierGET organizations/:organization_identifier/membersGET organizations/:organization_identifier/members/:identifierPATCH organizations/:organization_identifier/members/:identifierDELETE organizations/:organization_identifier/members/:identifierGET organizations/:organization_identifier/rolesGET organizations/:organization_identifier/roles/:identifierGET organizations/:organization_identifier/audit_logsGET organizations/:organization_identifier/railgunsPOST organizations/:organization_identifier/railgunsGET organizations/:organization_identifier/railguns/:identifierPATCH organizations/:organization_identifier/railguns/:identifierDELETE organizations/:organization_identifier/railguns/:identifierGET organizations/:organization_identifier/railguns/:identifier/zones
Replacement: Accounts API
Related resources
- Available RSS feeds (for the Cloudflare changelog)
- Subscribe to Cloudflare Status
- Planned maintenance windows
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#page","headline":"API deprecations","description":"Track Cloudflare API deprecations, removal timelines, and replacement endpoints.","url":"https://developers.cloudflare.com/fundamentals/api/reference/deprecations/","inLanguage":"en","image":"https://developers.cloudflare.com/fundamentals/api/reference/deprecations/og.png?v=ccd3b263026341d8","dateModified":"2026-04-20","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Query Cloudflare analytics data using GraphQL. title: GraphQL Analytics API image: https://developers.cloudflare.com/analytics/graphql-api/og.png?v=d0a231757d66f4b6
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/analytics/llms.txt
Use this file to discover all available pages before exploring further.
Docs