Change the user group assignments of an existing user

Prev Next
Put
/v{version}/Users/{id}/UserGroups
Security
API Key: api_key
Header parameter nameX-ApiKey

Api Key

API Key: session_id
Header parameter nameX-Session-Id

Session Id

Path parameters
id
integer (int32) Required

Unique ID of the user

version
stringRequired

The requested API version

Body parameters

Change requests that contain the new user group assignments

Array of object
object
Id
integer (int32)

Unique ID of the user group

Responses
200

OK

Array of object
object

User's user group

Created
string (date-time)

Creation date in UTC

Id
integer (int32)

Unique ID of the user group

IsDoohUserGroup
boolean

Is DOOH user group

Modified
string (date-time)

Modification date in UTC

Name
string

Name of the user group

400

Bad Request

Expand All
object
ValidationErrors
object
property*
Array of string additionalProperties
string
401

Unauthorized

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
403

Access denied

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
404

Not Found

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
500

Unexpected error

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties