文档

CancelChangeRequest - 关闭变更

更新时间:

通过OpenAPI关闭变更。

适用版本

企业专属版、企业标准版

服务接入点与授权信息

产品

资源

所需权限

应用交付

变更

读写

请求语法

POST https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/changeRequests/{sn}:cancel

请求头

参数

类型

是否必填

描述

示例值

x-yunxiao-token

string

个人访问令牌。

pt-0fh3****0fbG_35af****0484

请求参数

参数

类型

位置

是否必填

描述

示例值

appName

string

path

应用名。

my-web-service

sn

string

path

变更标识符。

eb4aee827214408e8d2dda49f0c0xxxx

organizationId

string

path

组织 ID。

ec766e63aee3437d9a51f334d6exxxxx

请求示例

curl -X 'POST' \
  'https://test.rdc.aliyuncs.com/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exxxxx/apps/my-web-service/changeRequests/eb4aee827214408e8d2dda49f0c0xxxx:cancel' \
  -H 'accept: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

返回参数

参数

类型

描述

示例值

-

boolean

调用是否成功。

true

返回示例

true

错误码

访问错误码中心查看 API 相关错误码。