DELETE/v1/user-groups/{id}/users/{userId}Remove a user from a group

Remove a user from a group
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: Remove a user from a user group

DELETE/v1/user-groups/45/users/15

headerAuthorizationBearer 0ef2882c-398c-4f1b-abbf-e27c045f60f3

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