ves-io-schema-user-API-List

Examples of listing user

Usecase:

List user

Request using vesctl:

vesctl configuration list user --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: user-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: ca8514a9-7c39-428a-8622-cde488687485

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build186462253_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/documentation/users'

curl response

HTTP/1.1 200 OK
Content-Length: 458
Content-Type: application/json
Date: Wed, 02 Jun 2021 10:22:33 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "user-1",
      "uid": "ca8514a9-7c39-428a-8622-cde488687485",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}