Skip to content

Draft

Getbotdetectionrulesdraft CustomAPI.

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-

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/config/namespaces/${NAMESPACE}/drafts" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/drafts/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/drafts" \
-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/config/namespaces/${NAMESPACE}/drafts/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"