Zero TrustZero Trust Gateway Categories

List categories

GET
Fetches a list of all categories.

Path parameters

account_idstringRequired
Identifier

Response

This endpoint returns an object
result
list of objectsOptional
GET
1curl https://api.cloudflare.com/client/v4/accounts/023e105f4ecef8ad9ca31a8372d0c353/gateway/categories \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "result": [
3 {
4 "beta": false,
5 "class": "free",
6 "description": "Sites related to educational content that are not included in other categories such as Science, Technology or Educational institutions.",
7 "name": "Education",
8 "subcategories": [
9 {
10 "beta": false,
11 "class": "free",
12 "description": "Sites related to educational content that are not included in other categories such as Science, Technology or Educational institutions.",
13 "name": "Education"
14 }
15 ]
16 }
17 ]
18}