Skip to content

State

State provides tools for creating resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-users-state-createSet Token State.
ParameterDescriptionExample
nameToken name Token object name to change, it’s usually same as metadata.uid.example-resource
namespaceToken namespace Namespace where token is residing.system

Ask Claude to help you work with State resources:

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

Terminal window
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/register/namespaces/$${PARAM}/tokens/$${PARAM}/state" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @state.json