curl --request POST \
--url http://localhost:3000/v2/GroupListUserGroups \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"mode": "login",
"identity": "<string>",
"request_metadata": {}
}
'{
"status": "ok",
"rows": [
{
"groupid": 123,
"groupname": "<string>",
"groupdesc": "<string>"
}
]
}Lists all groups for a specific user
curl --request POST \
--url http://localhost:3000/v2/GroupListUserGroups \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"mode": "login",
"identity": "<string>",
"request_metadata": {}
}
'{
"status": "ok",
"rows": [
{
"groupid": 123,
"groupname": "<string>",
"groupdesc": "<string>"
}
]
}API token for authentication