- Home
- API MCP Server
- tools
- shape
- shape-security
- Top Reason Code
Top Reason Code
GET Top Reason Codes.
| Tool | Description |
|---|---|
f5xc-api-shape-top-reason-code-create | Peergroup Top Reason Codes. |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Top Reason Code resources:
Create Top Reason Code
Section titled “Create Top Reason Code”“Create a top-reason-code named ‘example’ in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -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 resourcecurl -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 resourcecurl -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 resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/top_reason_codes/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"