Delete user

Author: Salman Pathan 124 views

Purpose:

This function is used to delete users in Jodo.
Whenever user is deleted in external business application, the application must invoke this API to execute same action in Jodo platform.

Use Case:

When users are deleted in business applications – they will be automatically deleted in Jodo Platform as well.

User Input Parameters:

Output Parameters:

Return Value:

This API returns in one format I.e. JSON format.

Delete user JSON Request

				
					"method":"deleteUser",                
"apikey":"test_org",
"loginid":"Batman12@avhan.com",
"reqdatetime": "2018-11-12 14:00:05"
}				
			

Delete User JSON Response

				
					{
"method":"deleteUser",
"revisionno":"1",
"status":1,
"statusdesc":"success",
"resdatetime":"2018-11-12 14:00:05"
}				
			

Delete User JSON Fail Response

				
					{
"method":”deleteUser”,
"revisionno":"1",
"status":5,
"statusdesc":"fail",
"resdatetime":"2018-11-12 14:00:05"
}				
			

Status Code Information