Skip to content

Js Configuration

GET JS Injection Configuration for this tenant.

ToolDescription
f5xc-api-shape-js-configuration-listGET JS Injection Configuration.
ParameterDescriptionExample
namespaceNamespace-
ParameterDescriptionExample
nameFormat we want the script to be returned in.-

Ask Claude to help you work with Js Configuration resources:

“List all js-configurations in the ‘production’ namespace”

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