允许函数被调用,并恢复预留实例的创建。该 OpenAPI 处于内测阶段。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
POST /2023-03-30/functions/{functionName}/invoke/enable HTTP/1.1
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| functionName | string | 否 | 允许调用的函数名称 | helloworld |
返回参数
示例
正常返回示例
JSON格式
{
"success": true
}错误码
| HTTP status code | 错误码 | 错误信息 |
|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
访问错误中心查看更多错误码。
