Service Unbind custom domain name

Last updated: 2020-02-21 16:22:20

PDF

Interface description

This API (UnBindSubDomain) is used for Unbind's custom domain name.
After you bind the custom domain name to the service using the API gateway, you can use this API if you want the custom domain name Unbind.

Input Parameter

The following request parameter list only lists the API request parameters. For other parameters, please see Common Request Parameters .

Parameter name Required Type Description
ServiceId Yes String Service unique ID
SubDomain Yes String The custom domain name waiting for Unbind

Output Parameter

Parameter name Type Description
Code Int Common error code, 0 indicates success, other values indicate failure. For more information, please see the error code page Common error code
CodeDesc String Error code on the business side. Return the specific cause of the business error when a Success, error is returned on success.
Message String Module error message description, related to interface

Example

https://apigateway.api.qcloud.com/v2/index.php?
&<Common request parameters>
&Action=UnBindSubDomain
&serviceId=service-XXXX
&subDomain=testSubDomain

The returned results are as below:

{
    "code": "0",
    "message": "",
    "codeDesc": "Success"
}