List account audit log product categories (Version 2)
GET/accounts/{account_id}/logs/audit/product_categories
Lists the available audit log product categories and the resource products each one expands to. Use these values with the product_category filter on the account audit logs endpoint.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
List account audit log product categories (Version 2)
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/logs/audit/product_categories \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [
{
"message": "message"
}
],
"result": [
{
"label": "Zero Trust",
"products": [
{
"label": "Gateway",
"value": "gateway"
}
],
"value": "zerotrust"
}
],
"success": true
}Returns Examples
{
"errors": [
{
"message": "message"
}
],
"result": [
{
"label": "Zero Trust",
"products": [
{
"label": "Gateway",
"value": "gateway"
}
],
"value": "zerotrust"
}
],
"success": true
}