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

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
groupid
integer
required

ID of the group to update

groupname
string

New name of the group

groupdesc
string

New description of the group

grouptype
string

New type of the group

request_metadata
object

Additional metadata for the request

Response

200 - application/json

Group updated successfully

status
string
Example:

"ok"