POST/v1/user-groups/{id}/users/{userId}Add a user to a group

Add a user to a group description
parametergroupAdminMake the user a group admin: Boolean
headerAuthorizationAuthentication token (bearer token or API key).

Response

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

Example: Add a user to a user group

POST/v1/user-groups/32/users/11

parametergroupAdmintrue
headerAuthorizationBearer 55a82594-44e0-41e5-abcc-0fce36825fe7

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=()
{}