Update User Group

Update User Group

Update a specific user group

Request
URI
PUT
https://{api_host}/api/v2/usergroup/{id}
COPY
Path Parameters
string
id
Required

id


Request Body

Example Body:

{
  "id": "UserGroup identifier",
  "name": "UserGroup name",
  "roleIDs": [
  "role1",
  "role2",
  "role3"
  ],
  "description": "UserGroup description"
}
UserGroupWrite of type(s) application/json
Optional

Show optional properties

{
    "name": "string",
    "roleIDs": [
        {}
    ]
}
{
    "name": "string",
    "id": "string",
    "description": "string",
    "createdEpochMillis": 0,
    "customer": "string",
    "roleIDs": [
        "string"
    ]
}
string
name
Required

The name of the user group

string
id
Optional

The unique identifier of the user group

string
description
Optional

The description of the user group

integer As int64 As int64
createdEpochMillis
Optional

createdEpochMillis

string
customer
Optional

The id of the customer to which the user group belongs

array of string
roleIDs
Required

List of role IDs the user group has been linked to.

Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerUserGroupModel of type(s) application/json
"ResponseContainerUserGroupModel Object"
object
status
Required

status

object
response
Optional

Wavefront user group entity


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","roleIDs":["string"]}' https://{api_host}/api/v2/usergroup/{id}