DeleteApplication - Delete application
Applicable editions | Central Edition, Region Edition |
Service endpoint and authorization
Get service endpoint: Replace
{domain}in the request syntax.Get your organization ID: Required only for Central Edition. Find your organization ID on the basic information page of the Organization Management console.
Product | Resource | Required permissions |
application delivery | application | Read/write |
Request syntax
Central Edition
DELETE https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}Region Edition
DELETE https://{domain}/oapi/v1/appstack/apps/{appName}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 | In | Required | Description | Example |
appName | string | path | Yes | The application name. | my-web-service |
organizationId | string | path |
| The organization ID. | ec766e63aee3437d9a51f334d6exe671 |
Request examples
Central Edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/apps/my-web-service' \
-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' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'Response parameters
Parameter | Type | Description | Example |
- | boolean | The value is true if the application was deleted successfully. | true |
Response example
trueError codes
For a list of error codes, see the Error Code Center.