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:

items:
- labels: {}
  name: user-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 1c48e2a8-bed4-48b7-97e5-f84e355987d2

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build013258245_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: 302
Content-Type: application/json
Date: Wed, 16 Sep 2020 10:50:58 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "user-1",
      "uid": "1c48e2a8-bed4-48b7-97e5-f84e355987d2",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}