Creates a new category
POST/accounts/{account_id}/cloudforce-one/events/categories/create
Creates a new category
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Body ParametersJSON
Creates a new category
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/cloudforce-one/events/categories/create \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d '{
"killChain": 0,
"name": "name",
"shortname": "shortname"
}'{
"killChain": 0,
"name": "name",
"uuid": "12345678-1234-1234-1234-1234567890ab",
"mitreAttack": [
"T1234"
],
"mitreCapec": [
"123"
],
"shortname": "shortname"
}Returns Examples
{
"killChain": 0,
"name": "name",
"uuid": "12345678-1234-1234-1234-1234567890ab",
"mitreAttack": [
"T1234"
],
"mitreCapec": [
"123"
],
"shortname": "shortname"
}