State¶
Medium Risk
Some operations on this resource may modify or delete data.
TokenState changes token status, it can be used to disable token.
Tools¶
| Tool | Description |
|---|---|
f5xc-api-users-state-create | Set Token State. |
Parameters¶
Path Parameters¶
| Parameter | Description | Example |
|---|---|---|
name | Token name | - |
namespace | Token namespace | - |
Side Effects¶
Operations on this resource may have the following effects:
Creates:
- state
Example Usage¶
Ask Claude to help you work with State resources:
Create State¶
"Create a state named 'example' in the 'production' namespace"
CURL Examples¶
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/states" \
-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}/states/<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}/states" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @state.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/states/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"