All Products
Search
Document Center

Function Compute:DeleteTrigger

更新时间:Aug 21, 2025

You can call this operation to delete a trigger.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample codes.

Request headers

This operation uses only common request headers. For more information, see Common parameters.

Parameter

Type

Required

Example

Description

If-Match

String

No

e19d5cd5af0378da05f63f891c74****

The value used to ensure that the modified resource is consistent with the resource to be modified. The value is obtained from the responses of CreateTrigger, GetTrigger, and UpdateTrigger.

Request syntax

DELETE /services/{serviceName}/functions/{functionName}/triggers/{triggerName} 

Request parameters

Parameter

Type

Position

Required

Example

Description

serviceName

String

Path

Yes

service_name

The name of the service.

functionName

String

Path

Yes

function_name

The name of the function.

triggerName

String

Path

Yes

trigger_name

The name of the trigger to be deleted.

Examples

Sample requests

DELETE /2016-08-15/services/service_name/functions/function_name/triggers/trigger_name HTTP/1.1
            

Sample success responses

JSON format

HTTP/1.1 204 No Content 
Common response headers