Remove user from an organization unit
Resource URL
URL: user/removeFromOrganizationUnit
Parameters
string username | Username |
string password | Password |
string userId | Trainingportal internal ID of the user |
string userExternalId optional | External ID of the user. Either userId or userExternalId must be filled |
string organizationUnitExternalId required | External ID of the organization unit the user should be removed from |
Return value
status | OK |
Example request
URL | https://www.trainingportal.no/mintra/rest/user/removeFromOrganizationUnit |
POST DATA | userExternalId=a001&organizationUnitExternalId=734&username=username&password=secret |
{
"status":"OK"
}