CloseChangeRequest: Finish a change
Updated at:
Version | Centralized and Regional |
Service endpoint and authorization
- Get service endpoint: Replace
{domain}in the request URL. - Get personal access token: Used in the
x-yunxiao-tokenrequest header. - Get an organization id: Required only for the centralized edition. Go to the Basic Information page in the organization management console to obtain it.
Product | Resource | Permissions |
AppStack | change | Read/Write |
Request syntax
Centralized edition
POST https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/changeRequests/{sn}:finish
Regional edition
POST https://{domain}/oapi/v1/appstack/apps/{appName}/changeRequests/{sn}:finish
Request headers
Parameter | Type | Required | Description | Example |
x-yunxiao-token | string | Yes | The personal access token. | 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 change identifier. | f1e78f22428e4e2496a01691812a17af |
organizationId | string | path |
| The organization id. | ec766e63aee3437d9a51f334d6exe671 |
Request examples
Centralized edition
curl -X 'POST' \
'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/apps/my-web-service/changeRequests/f1e78f22428e4e2496a01691812a17af:finish' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Regional edition
curl -X 'POST' \
'https://{domain}/oapi/v1/appstack/apps/my-web-service/changeRequests/f1e78f22428e4e2496a01691812a17af:finish' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example |
- | boolean | A boolean that indicates whether the change was successfully finished. | true |
Response example
true
Error codes
For a list of error codes, see the Error Code Center.
Is this page helpful?