Skip to content

Policie

Deploy Policies to Bot Infrastructure.

ToolDescription
f5xc-api-shape-policie-createDeploy Policies to Bot Infra.
ParameterDescriptionExample
nameBot Infra Name-
namespaceNamespace-

Ask Claude to help you work with Policie resources:

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

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/policies" \
-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}/policies/<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}/policies" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @policie.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/policies/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"