API Documentation

Delete User

This feature helps to Delete a user within the system. The Service URL of the module is given by the following link-

https://{domain}.qevalpro.com/api/ManageUser/DeleteUser

The domain can be: “app” or “ai”.

  • Method–  Post
  • JSON Formats

1. Code snippet for Web Service Use

{

Headers

Every API call must include two-factor authentication by providing the following headers:

  1. Authorization: Bearer <Generated_Token>
    • The Bearer Token is generated upon a successful login.
  2. X-API-KEY: <Your_Unique_API_Key>
    • Note: This key is assigned by the QEval team. If not available, you can request it via email at Qeval@etechtexas.com

    “EmpSrId”: “1378389”

}

2. Description for Request Parameters

S.No

Name

Type

Description

1

EmpSrId

Int

Employee Serial ID is automatically generated during user creation.

3. Response Example

Success

{

    “Data”:True,

    “Message”: “User deleted successfully.”

}

Fail

1. If an EmpSrId that has already been used previously is submitted. – 

{

    “Message”: “Employee Already Deleted.”

}

2. Other failed or invalid cases.

{

    “Message”: “The request is invalid.”,

    “ModelState”: {

        “user.EmpSrId”: [

            “An error has occurred.”

}

    ×

    Contact Us