CancelChangeRequest

Updated at:

Applicable editions

Central Edition, Region Edition

Service endpoint and authorization

Product

Resource

Required permissions

Application Delivery

change request

Read/write

Request syntax

Central edition

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

Region edition

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

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

The personal access token for authentication.

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

Request parameters

Parameter

Type

Location

Required

Description

Example

appName

string

path

Yes

The application name.

my-web-service

sn

string

path

Yes

The ID of the change request.

f1e78f22428e4e2496a01691812a17af

organizationId

string

path

  • Yes: Central Edition

  • No: Region Edition

The organization ID.

ec766e63aee3437d9a51f334d6exe671

Request examples

Central edition

curl -X 'POST' \
  'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/apps/my-web-service/changeRequests/f1e78f22428e4e2496a01691812a17af:cancel' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region edition

curl -X 'POST' \
  'https://{domain}/oapi/v1/appstack/apps/my-web-service/changeRequests/f1e78f22428e4e2496a01691812a17af:cancel' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

boolean

Indicates whether the change request was successfully canceled.

true

Response example

true

Error codes

For API error codes, see the Error Code Center.