DeleteAppOrchestration - Delete an application orchestration
Updated at:
Applicable versions | Central Edition, Region Edition |
Endpoint and authorization information
- Get an endpoint to replace {domain} in the API request syntax.
- Get a personal access token.
- Obtain the organizationId (Required only for the Central Edition). You can obtain the organization ID from the Basic Information page in the Organization Management console.
Product | Resource | Required permission |
Application Delivery | Application Orchestration | Read/Write |
Request syntax
Central Edition
DELETE https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/orchestrations/{sn}
Region Edition
DELETE https://{domain}/oapi/v1/appstack/apps/{appName}/orchestrations/{sn}
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 | Position | Required | Description | Example |
appName | string | path | Yes | The application name. | my-web-service |
organizationId | string | path |
| The organization ID. | bd9e3c6d-624f-4580-af7d-c5e26f1ed0f0 |
sn | string | path | Yes | The orchestration serial number. | 1 |
Request examples
Central Edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/appstack/organizations/bd9e3c6d-624f-4580-af7d-c5e26f1ed0f0/apps/my-web-service/orchestrations/1' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region Edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/appstack/apps/my-web-service/orchestrations/1' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example |
- | boolean | Indicates whether the deletion was successful. | true |
Response example
true
Error codes
For more information about API error codes, see the Error Code Center.
Is this page helpful?