​
Select Service
ves-io-schema-ip_prefix_set-API-List
Published April 5, 2023 | Last modified June 26, 2025
Examples of listing ip_prefix_set
Usecase:
List all ip-prefix-set from system namespace
Request using vesctl:
vesctl configuration list ip_prefix_set --namespace system
vesctl yaml response:
errors: []
items:
- annotations: {}
labels: {}
name: acmecorp-white-list
namespace: system
statusSet: []
tenant: acmecorp
uid: 6917612e-23e6-4c61-b3f2-ee278aa7b957
- annotations: {}
labels: {}
name: ddos-black-list
namespace: system
statusSet: []
tenant: acmecorp
uid: 0b7082bb-439c-45e9-b9bc-da999a0585bc
Copied!
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build336959812_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/ip_prefix_sets'
Copied!
curl response
HTTP/1.1 200 OK
Content-Length: 842
Content-Type: application/json
Date: Thu, 26 Jun 2025 23:55:18 GMT
Vary: Accept-Encoding
X-Volterra-Response-Fields-Deprecated: items.#.get_spec.ipv6_prefix.#,items.#.get_spec.prefix.#
{
"items": [
{
"tenant": "acmecorp",
"namespace": "system",
"name": "acmecorp-white-list",
"uid": "6917612e-23e6-4c61-b3f2-ee278aa7b957",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "ddos-black-list",
"uid": "0b7082bb-439c-45e9-b9bc-da999a0585bc",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
}
],
"errors": [
]
}
Copied!