Skip to content

Top Reason Code

Medium Risk

Some operations on this resource may modify or delete data.

GET Top Reason Codes.

Tools

Tool Description
f5xc-api-shape-top-reason-code-create Peergroup Top Reason Codes.

Side Effects

Operations on this resource may have the following effects:

Creates:

  • top-reason-code

Example Usage

Ask Claude to help you work with Top Reason Code resources:

Create Top Reason Code

"Create a top-reason-code named 'example' in the 'production' namespace"

CURL Examples

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

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