Skip to content

Validate Rule

Medium Risk

Some operations on this resource may modify or delete data.

ValidateRules returns whether the value is valid or not for the specified validator rules.

Tools

Tool Description
f5xc-api-tenantandidentity-validate-rule-create Validate Rules.

Side Effects

Operations on this resource may have the following effects:

Creates:

  • validate-rule

Example Usage

Ask Claude to help you work with Validate Rule resources:

Create Validate Rule

"Create a validate-rule named 'example' in the 'production' namespace"

CURL Examples

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

# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/validate_rules/<name>" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}"