Skip to content

Draft

Draft provides tools for creating, listing, and deleting resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-shape-draft-createSave draft.
f5xc-api-shape-draft-listGet bot detection rules which are in draft state.
f5xc-api-shape-draft-deleteDiscard draft.
ParameterDescriptionExample
namespaceNamespace…system

Ask Claude to help you work with Draft resources:

“Create a draft named ‘example’ in the ‘production’ namespace”

“List all drafts in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/shape/bot/custom/namespaces/$${PARAM}/bot_detection_rules/draft" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/shape/bot/custom/namespaces/$${PARAM}/bot_detection_rules/draft" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @draft.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/shape/bot/custom/namespaces/$${PARAM}/bot_detection_rules/draft" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"