DeleteAutomationEventTask - Delete event task
Updated at:
Applicable editions | Central edition, Region edition |
Service endpoint and authorization information
- Get the service endpoint: Replace {domain} in the API request syntax.
- Get a personal access token。
- Obtain organizationId: Central edition only. Go to the Organization Management console's Basic Information page to obtain the organization ID.
Product | Resource | Required permission |
Organization Management | Automation event tasks | Read and write |
Request syntax
Central edition
DELETE https://{domain}/oapi/v1/platform/organizations/{organizationId}/automation/event-tasks/{name}
Region edition
DELETE https://{domain}/oapi/v1/platform/automation/event-tasks/{name}
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 |
| Organization ID. | |
name | string | path | Yes | Event task name generated by the server, such as event-1a2b3c4d. |
Request example
Central edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/platform/organizations/{organizationId}/automation/event-tasks/{name}' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/platform/automation/event-tasks/{name}' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example |
- | object |
Response example
{
}
Error codes
For API-related error codes, see the Error Code Center.
Is this page helpful?