Skip to content

Dhcp Lease

Low Risk

Operations on this resource are generally safe.

GET DHCP lease information.

Tools

Tool Description
f5xc-api-support-dhcp-lease-list Show DHCP Leases.

Parameters

Path Parameters

Parameter Description Example
namespace Namespace -
site Site Name -

Example Usage

Ask Claude to help you work with Dhcp Lease resources:

List Dhcp Leases

"List all dhcp-leases in the 'production' namespace"

CURL Examples

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

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