ves-io-schema-user_group-API-List

Examples of listing user_group

Usecase:

List user-group

Request using vesctl:

vesctl configuration list user_group --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: user-group-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 3e8bcaf0-9a3c-4ea0-bb71-849271796a36

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 464
Content-Type: application/json
Date: Wed, 12 Jan 2022 14:51:26 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "user-group-1",
      "uid": "3e8bcaf0-9a3c-4ea0-bb71-849271796a36",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}