DeleteAutomationEventTask - Delete event task

Updated at:

Applicable editions

Central edition, Region edition

Service endpoint and authorization information

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

  • Required for the Central edition

  • Not required for the Region edition

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.