resource_library_categories
Creates, updates, deletes, gets or lists a resource_library_categories resource.
Overview
| Name | resource_library_categories |
| Type | Resource |
| Id | cloudflare.zero_trust.resource_library_categories |
Fields
The following fields are returned by SELECT queries:
- list
Get all application categories response.
| Name | Datatype | Description |
|---|---|---|
id | string | Returns the category ID. (example: 12345678-1234-1234-1234-123456789012) |
name | string | Returns the category name. (example: Category name) |
created_at | string | Returns the category creation time. (example: 2025-01-01T00:00:00Z) |
description | string | Returns the category description. (example: Category description) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | limit, offset | List application categories. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
limit | integer | Limit of number of results to return. |
offset | integer | Offset of results to return. |
SELECT examples
- list
List application categories.
SELECT
id,
name,
created_at,
description
FROM cloudflare.zero_trust.resource_library_categories
WHERE account_id = '{{ account_id }}' -- required
AND limit = '{{ limit }}'
AND offset = '{{ offset }}'
;