启用集成配置。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

POST /integrationConfig/enable HTTP/1.1

请求参数

名称 类型 位置 是否必选 示例值 描述
Object Body

A short description of struct

integrationConfigId Long Body 101

集成配置id

clientToken String Body 601FA6A2-AC5C-4B59-BE11-378F887A6A11

幂等标识

返回数据

名称 类型 示例值 描述
requestId String 601FA6A2-AC5C-4B59-BE11-378F887A6A11

requestId

示例

请求示例

POST /integrationConfig/enable HTTP/1.1
Host:gemp.cn-shanghai.aliyuncs.com
Content-Type:application/json

{
    "integrationConfigId": 12345703
}

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<EnableIntegrationConfigResponse>
    <requestId>953F7437-1A7E-41A5-BAD9-086E20E579F8</requestId>
</EnableIntegrationConfigResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "requestId" : "953F7437-1A7E-41A5-BAD9-086E20E579F8"
}

错误码

HttpCode 错误码 错误信息 描述
403 IntegationConfigNotIntegrated The specified integration config is not integrated. 集成配置未集成
403 IntegationConfigAlreadyEnable The specified integration config is already enabled. 集成配置已启用
404 IntegationConfigNotExists The specified integration config does not exist. 集成配置不存在

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。