- Home
- API MCP Server
- tools
- tenant-and-identity
- other
- Validate Contact
Validate Contact
It validates that:
- the provided country and zip code are not empty
- the provided country is in the configured list of countries
- a provided zip code matches a regexp for a given country.
| Tool | Description |
|---|---|
f5xc-api-tenantandidentity-validate-contact-create | Validate contact. |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Validate Contact resources:
Create Validate Contact
Section titled “Create Validate Contact”“Create a validate-contact 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}/validate_contacts" \ -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}/validate_contacts/<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}/validate_contacts" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @validate_contact.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/validate_contacts/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"