Delete User From Groups
Delete User From Groups

This method deletes a user from the specified groups

Name Value
REST-API METHOD DELETE USER FROM GROUPS
HTTP METHOD POST
RESPONSE TYPE XML
URL https://api.csm.next4biz.net/services/UserService/{CompanyID}/deleteuserfromgroup.json/{userName}/{LangID}https://api.csm.next4biz.net/services/UserService/{CompanyID}/deleteuserfromgroup.xml/{userName}/{LangID}
REQUEST HEAD Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+json,application/json;q=0.9,*/*;q=0.8 Content-Type: application/jsonAuthorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml
  • XML
  • JSON
ENDPOINT DEFINITION
POST
REQUEST BODY
                                    
                                        <ArrayOfInt>
	<int>{GroupID}</int>
	<int>{GroupID}</int>
</ArrayOfInt>                                    
                                
                                                                        
                                        {
    "int": [
        "{GroupID}",
        "{GroupID}"
    ]
}                                    
                                                                    
RESPONSE BODY
                                    
                                        <Response
    xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <Message>{Message}</Message>
    <Result>true</Result>
</Response>                                    
                                
                                                                        
                                        {
    "Message": "{Message}",
    "Result": "true"
}