Skip to main content
POST
/
v2
/
GroupGet
Get group information
curl --request POST \
  --url http://localhost:3000/v2/GroupGet \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "groupid": 123,
  "groupname": "<string>",
  "request_metadata": {}
}
'
{
  "status": "ok",
  "groupname": "<string>",
  "groupdesc": "<string>",
  "grouptype": "<string>"
}

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
groupid
integer

ID of the group

groupname
string

Name of the group

request_metadata
object

Additional metadata for the request

Response

200 - application/json

Group information retrieved successfully

status
string
Example:

"ok"

groupname
string

Name of the group

groupdesc
string

Description of the group

grouptype
string

Type of the group