Skip to content

Commit c8f9dd3

Browse files
author
Jesse Li
committed
AUTH-6594 Deprecate Access app self_hosted_domains
1 parent ed3dc92 commit c8f9dd3

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

src/content/changelogs/api-deprecations.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,52 @@ productLink: "/fundamentals/"
55
productArea: Core platform
66
productAreaLink: /fundamentals/reference/changelog/platform/
77
entries:
8+
- publish_date: "2024-12-09"
9+
title: "Access applications: self_hosted_domains"
10+
description: |-
11+
Deprecation date: November 21, 2025
12+
13+
The `self_hosted_domains` field for [Access applications](https://developers.cloudflare.com/api/operations/access-applications-update-an-access-application) is deprecated in favor of `destinations` to allow for more flexibility in defining different types of domains.
14+
15+
Before:
16+
```json
17+
{
18+
// ...
19+
"self_hosted_domains": ["foo.example.com", "bar.example.com"]
20+
}
21+
```
22+
23+
After:
24+
```json
25+
{
26+
// ...
27+
"destinations": [
28+
{
29+
"type": "public",
30+
"uri": "foo.example.com"
31+
},
32+
{
33+
"type": "public",
34+
"uri": "bar.example.com"
35+
}
36+
]
37+
}
38+
```
39+
40+
The API will accept both fields until the deprecation date. If `self_hosted_domains` are provided, then they will be interpreted as `public` destinations. However, if `destinations` are provided, then `self_hosted_domains` will be ignored even if provided.
41+
42+
Additionally, the API will continue to return `self_hosted_domains` until the deprecation date. The field will contain the URIs of the subset of destinations that have type `public`.
43+
44+
Affected APIs:
45+
- `GET /accounts/:account_id/access/apps`
46+
- `POST /accounts/:account_id/access/apps`
47+
- `GET /accounts/:account_id/access/apps/:app_id`
48+
- `PUT /accounts/:account_id/access/apps/:app_id`
49+
- `GET /zones/:zone_id/access/apps`
50+
- `POST /zones/:zone_id/access/apps`
51+
- `GET /zones/:zone_id/access/apps/:app_id`
52+
- `PUT /zones/:zone_id/access/apps/:app_id`
53+
854
- publish_date: "2025-03-21"
955
title: "Zone Setting: cname_flattening"
1056
description: |-

0 commit comments

Comments
 (0)