curl --location --request GET 'https://api.cloudflare.com/client/v4/accounts//gateway/categories'
blocked
categories are blocked unconditionally for all accounts. removalPending
categories can be removed from policies but not added. noBlock
categories cannot be blocked.{
"errors": [],
"messages": [],
"result": [
{
"beta": false,
"class": "premium",
"description": "Sites related to educational content that are not included in other categories like Science, Technology or Educational institutions.",
"id": 0,
"name": "Education",
"subcategories": [
{
"beta": false,
"class": "premium",
"description": "Sites related to educational content that are not included in other categories like Science, Technology or Educational institutions.",
"id": 0,
"name": "Education"
}
]
}
],
"success": true,
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}