DeleteAppStackWebhook - Delete an AppStack Webhook
Updated at:
Deletes a specified AppStack Webhook configuration.
Applicable versions | Central Edition, Region Edition |
Endpoint and authorization information
- Obtain the endpoint: Replace {domain} in the API request syntax.
- Obtain a personal access token.
- Obtain the organizationId: This is required only for the Central Edition. Go to the Basic Information page in the Organization Management console to obtain the organization ID.
Product | Resource | Required permission |
Application Delivery | Webhook | Read and write |
Request syntax
Central Edition
DELETE https://{domain}/oapi/v1/appstack/organizations/{organizationId}/hook/{sn}/api
Region Edition
DELETE https://{domain}/oapi/v1/appstack/hook/{sn}/api
Request headers
Parameter | Type | Required | Description | Example |
x-yunxiao-token | string | Yes | Personal access token. | pt-0fh3****0fbG_35af****0484 |
Request parameters
Parameter | Type | Location | Required | Description | Example |
organizationId | string | path |
| The organization ID. | ec766e6xxxxxxxxxx34d6exe671 |
sn | string | path | Yes | The unique identifier of the Webhook. | c263a67497xxxxxxx42f45f2f80e |
Request examples
Central Edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/appstack/organizations/ec766e6xxxxxxxxxx34d6exe671/hook/c263a67497xxxxxxx42f45f2f80e/api' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region Edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/appstack/hook/c263a67497xxxxxxx42f45f2f80e/api' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example |
- | boolean | true |
Response example
true
Error codes
For more information about API-related error codes, see Error Code Center.
Is this page helpful?