ves-io-schema-user_group-CustomAPI-List

Examples of performing user_group CustomAPI ListGroupUsers

Usecase:

request to list user groups with assigned users

Request:

Request using vesctl:

vesctl request rpc user_group.CustomAPI.ListGroupUsers -i request.yaml --uri /public/custom/namespaces/system/user_groups --http-method GET

where file request.yaml has following contents:

{}

vesctl yaml response:

{}

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?namespace='

curl response:

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

{
  "user_groups": [
  ]
}