deleteConfidentialID

employee_ConfidentialIDs.deleteConfidentialID(String empId, int accountId)

The employee_ConfidentialIDs.deleteConfidentialID(String empId, int accountId) method allows you to delete a confidential id from the system.

Arguments
  • empId : String type mandatory argument that stores the employee id of the associated employee.
  • AccountId: Integer type mandatory argument that stores the account id of the confidential document.
Returns

Success output if the operation succeeded. An exception if an error is encountered

 Errors
  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
  •  InvalidEmp: If employee id is invalid or update access is not allowed to employee / confidential id record for the current user
  •  Invalidconfidential id: If the confidential ID is invalid or does not map to the employee.

Object Methods

Click on each of these links to know more about them: