ves-io-schema-user_group-CustomAPI-Create

Examples of performing user_group CustomAPI ListGroupUsers

Usecase:

request to create user group 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 POST

where file request.yaml has following contents:

{}

vesctl yaml response:

{}

Request using curl:

curl -X 'POST' -d '{}' -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'

curl response:

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

{
  "id": "",
  "name": "",
  "display_name": "",
  "items": [
  ]
}