ves-io-schema-user_group-CustomAPI-ListGroupUsers

Examples of performing user_group CustomAPI ListGroupUsers

Usecase:

request to list users for specific group

Request:

Request using vesctl:

vesctl request rpc user_group.CustomAPI.ListGroupUsers -i request.yaml --uri /public/custom/namespaces/system/user_groups/f3eb9a68-33f8-4f75-aa70-73df57738ae7 --http-method GET

where file request.yaml has following contents:

id: f3eb9a68-33f8-4f75-aa70-73df57738ae7

vesctl yaml response:

items: []

Request using curl:

curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/custom/namespaces/system/user_groups/f3eb9a68-33f8-4f75-aa70-73df57738ae7?id=f3eb9a68-33f8-4f75-aa70-73df57738ae7'

curl response:

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

{
  "items": [
  ]
}