POST/v1/user-groups/{id}/usersAdd multiple users to a group

Add multiple users to a group with group admin flag
headerAuthorizationAuthentication token (bearer token or API key).
[{
"userId" : Number,
"groupAdmin" : Boolean
}]

Response

status200All ok
status400Group and user do not belong to the same account
status401Invalid authentication token
status403Insufficient rights
status404User group not found
{}

Example: Add multiple users to a user group

POST/v1/user-groups/35/users

headerAuthorizationBearer adfb005f-33b8-4b35-a664-9654a3d5ee76
[{
"userId": 12,
"groupAdmin": true
}
]

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
{}