This method deletes a user from the specified roles
| Name | Value | |
|---|---|---|
| REST-API METHOD | DELETE USER FROM ROLES | |
| HTTP METHOD | POST | |
| RESPONSE TYPE | XML | |
| URL | https://api.csm.next4biz.net/services/UserService/{CompanyID}/deleteuserroles.json/{userName}/{LangID} | https://api.csm.next4biz.net/services/UserService/{CompanyID}/deleteuserroles.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/json | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml |
<ArrayOfInt>
<int>{RoleID}</int>
<int>{RoleID}</int>
</ArrayOfInt>
{
"int": [
"{RoleID}",
"{RoleID}"
]
}
<Response
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Message>{Message}</Message>
<Result>true</Result>
</Response>
{
"Message": "{Message}",
"Result": "true"
}