Enable HTTPS access

1. API Description

This API is used to enable HTTPS access, which takes effect after rebooting.

Request mode: POST [ip]/api/certificate/enable

Administrator Rights Logged-in
Yes Yes

2. Input Parameters

Name Required Type Description
enable Yes Boolean Enable HTTPS access
true: Enabled; false: Disabled

3. Output Parameters

Name Type Description
status Int Status code
code String Status description

4. Example

Enabling HTTPS access.

Input Example
{
    "enable": false
}
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
6 MW_STATUS_UNKNOWN_ERROR An unknown error occurred
7 MW_STATUS_INVALID_ARG Missing required parameters

results matching ""

    No results matching ""

    results matching ""

      No results matching ""