- Home
- API MCP Server
- tools
- billing-and-usage
- Swap Primary
Swap Primary
Swaps payment method roles - the payment method used as a parameter will became primary, any other
will become secondary. The name parameter is ignored.
| Tool | Description |
|---|---|
f5xc-api-billingandusage-swap-primary-create | Make payment method secondary. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Name | - |
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Swap Primary resources:
Create Swap Primary
Section titled “Create Swap Primary”“Create a swap-primary 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}/swap_primarys" \ -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}/swap_primarys/<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}/swap_primarys" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @swap_primary.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/swap_primarys/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"