Skip to content

Primary

Medium Risk

Some operations on this resource may modify or delete data.

Flags a payment method as primary. Nothing changes is the payment method is already primary, if the payment method is secondary then it becomes default and there will be no secondary.

Tools

Tool Description
f5xc-api-billingandusage-primary-create Make credit card primary.

Parameters

Path Parameters

Parameter Description Example
name Name -
namespace Namespace -

Side Effects

Operations on this resource may have the following effects:

Creates:

  • primary

Example Usage

Ask Claude to help you work with Primary resources:

Create Primary

"Create a primary named 'example' in the 'production' namespace"

CURL Examples

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

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