Add Account To User Groups
Adds specific groups to the account (user or service account)
Request
URI
POST
https://{api_host}/api/v2/account/{id}/addUserGroups
COPY
Path Parameters
string
id
Required
id
Request Body
The list of groups that should be added to the account
addAccountToUserGroupsBody
of type(s)
application/json
Optional
[
{}
]
Responses
200
successful operation
Returns
UserModel
of type(s)
application/json
"UserModel Object"
string
identifier
Required
The unique identifier of this user, which must be their valid email address
string
customer
Required
The id of the customer to which this user belongs
string
ssoId
Optional
ssoId
integer As int64
As int64
lastSuccessfulLogin
Optional
lastSuccessfulLogin
array of
string
groups
Required
The permissions granted to this user
array of
object
userGroups
Required
The list of user groups the user belongs to
array of
object
roles
Optional
roles
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v2/account/{id}/addUserGroups
On This Page
Account (user And Service Account) Operations
GET
Get All Accounts
POST
Delete Multiple Accounts
POST
Grant Permission To Accounts
POST
Revoke Permission From Accounts
GET
Get All Service Accounts
POST
Create Service Account
GET
Get Service Account
PUT
Update Service Account
POST
Activate Account
POST
Deactivate Account
GET
Get All User Accounts
POST
Create Or Update User Account
GET
Get Users With Accounts Permission
POST
Invite User Accounts
GET
Get User Account
PUT
Update User Account
POST
Validate Accounts
GET
Get Account
DELETE
Delete Account
POST
Add Account To Roles
POST
Add Account To User Groups
GET
Get Account Business Functions
POST
Grant Account Permission
POST
Remove Account From Roles
POST
Remove Account From User Groups
POST
Revoke Account Permission