DELETE /user-ms/user/v1/{userId}

Delete a user.

To remove a user from the system:
  1. Perform the authentication and login to the API. For more information, see POST /auth/login.

  2. Use DELETE /user-ms/user/v1/{userId} to send an HTTP DELETE request.

  3. Click Try it Out option.

  4. Set the parameters as listed in the following table.

    Parameter Name

    Sample Value

    Supported Value

    Description

    userId

    userId

    string

    Indicates the user ID.

    Note:

    This parameter is mandatory.

  5. Click on Execute to generate the request URL.

    Request URL:
    https://<IP_Address>:<PORT>/user-ms/user/v1/1
    The following table lists the expected responses.

    Response Type

    Value

    Schema

    Error Response

    24 No Content

    Not applicable

    400 Bad Request

    Not applicable

    401 Authentication Failure

    Not applicable

    403 Forbidden

    Not applicable

    404 Not found

    Not applicable