Delete User

This request is used to delete the existing user.

Method: HTTP DELETE method

Endpoint:http://<host_address>:<port_address>/v1/user

Delete User Parameters
Parameter Cardinality Description
tenantId Mandatory This is the tenant value as stored in the users table in the database.
X-API-AppId Mandatory The application ID is used for getting user details. The default ID is auth.
X-API-Key Mandatory This key is used for getting user details. The default ID is auth.
userInfo (Body) userName Mandatory It specifies the user name to be deleted.

Example for Delete User request:

[
  {
    "userName": "testuser",
  }
]