ves-io-schema-token-API-List
On This Page:
Examples of listing token
Usecase:
List token
Request using vesctl:
vesctl configuration list token --namespace system
vesctl yaml response:
items:
- annotations: {}
labels: {}
name: token-1
namespace: system
statusSet: []
tenant: acmecorp
uid: a7033d0c-5cde-4c40-a4c7-79a950934ee8
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build318584715_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/register/namespaces/system/tokens'
curl response
HTTP/1.1 200 OK
Content-Length: 433
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:30:07 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "system",
"name": "token-1",
"uid": "a7033d0c-5cde-4c40-a4c7-79a950934ee8",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
}
]
}