Delete a user

1. API Description

This API is used to delete a user.

Request mode: POST [ip]/api/user/del

Administrator Rights Logged-in
Yes Yes

2. Input Parameters

Name Required Type Description
username Yes String The user name, obtained using Get system user list

3. Output Parameters

Name Type Description
status Int Status code
code String Status description

4. Example

Deleting a user.

Input Example
{
    "username":"test"
}
Output Example
{
    "status": 0,
    "code": "Success"
}

5. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Status Definition Description
7 MW_STATUS_INVALID_ARG The parameters are missing
31 NOT_PERMITTED Only administrators have permission

results matching ""

    No results matching ""

    results matching ""

      No results matching ""